.class public abstract Landroid/widget/MyAbsListView;
.super Landroid/widget/MyAdapterView;
.source "MyAbsListView.java"

# interfaces
.implements Landroid/text/TextWatcher;
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
.implements Landroid/widget/Filter$FilterListener;
.implements Landroid/view/ViewTreeObserver$OnTouchModeChangeListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroid/widget/MyAbsListView$RecycleBin;,
        Landroid/widget/MyAbsListView$RecyclerListener;,
        Landroid/widget/MyAbsListView$LayoutParams;,
        Landroid/widget/MyAbsListView$FlingRunnable;,
        Landroid/widget/MyAbsListView$CheckForTap;,
        Landroid/widget/MyAbsListView$CheckForKeyLongPress;,
        Landroid/widget/MyAbsListView$CheckForLongPress;,
        Landroid/widget/MyAbsListView$PerformClick;,
        Landroid/widget/MyAbsListView$WindowRunnnable;,
        Landroid/widget/MyAbsListView$SavedState;,
        Landroid/widget/MyAbsListView$OnScrollListener;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/widget/MyAdapterView",
        "<",
        "Landroid/widget/ListAdapter;",
        ">;",
        "Landroid/text/TextWatcher;",
        "Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;",
        "Landroid/widget/Filter$FilterListener;",
        "Landroid/view/ViewTreeObserver$OnTouchModeChangeListener;"
    }
.end annotation


# static fields
.field static final LAYOUT_FORCE_BOTTOM:I = 0x3

.field static final LAYOUT_FORCE_TOP:I = 0x1

.field static final LAYOUT_MOVE_SELECTION:I = 0x6

.field static final LAYOUT_NORMAL:I = 0x0

.field static final LAYOUT_SET_SELECTION:I = 0x2

.field static final LAYOUT_SPECIFIC:I = 0x4

.field static final LAYOUT_SYNC:I = 0x5

.field private static final PROFILE_FLINGING:Z = false

.field private static final PROFILE_SCROLLING:Z = false

.field static final TOUCH_MODE_DONE_WAITING:I = 0x2

.field static final TOUCH_MODE_DOWN:I = 0x0

.field static final TOUCH_MODE_FAST_SCROLL:I = 0x5

.field static final TOUCH_MODE_FLING:I = 0x4

.field private static final TOUCH_MODE_OFF:I = 0x1

.field private static final TOUCH_MODE_ON:I = 0x0

.field static final TOUCH_MODE_REST:I = -0x1

.field static final TOUCH_MODE_SCROLL:I = 0x3

.field static final TOUCH_MODE_TAP:I = 0x1

.field private static final TOUCH_MODE_UNKNOWN:I = -0x1

.field public static final TRANSCRIPT_MODE_ALWAYS_SCROLL:I = 0x2

.field public static final TRANSCRIPT_MODE_DISABLED:I = 0x0

.field public static final TRANSCRIPT_MODE_NORMAL:I = 0x1


# instance fields
.field mAdapter:Landroid/widget/ListAdapter;

.field private mCacheColorHint:I

.field mCachingStarted:Z

.field private mContextMenuInfo:Landroid/view/ContextMenu$ContextMenuInfo;

.field mDataSetObserver:Landroid/widget/MyAdapterView$AdapterDataSetObserver;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/widget/MyAdapterView",
            "<",
            "Landroid/widget/ListAdapter;",
            ">.AdapterDataSetObserver;"
        }
    .end annotation
.end field

.field private mDensityScale:F

.field mDrawSelectorOnTop:Z

.field private mFiltered:Z

.field private mFlingProfilingStarted:Z

.field private mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

.field private mIsChildViewEnabled:Z

.field private mLastScrollState:I

.field private mLastTouchMode:I

.field mLastY:I

.field mLayoutMode:I

.field mListPadding:Landroid/graphics/Rect;

.field mMotionCorrection:I

.field mMotionPosition:I

.field mMotionViewNewTop:I

.field mMotionViewOriginalTop:I

.field mMotionX:I

.field mMotionY:I

.field private mOnScrollListener:Landroid/widget/MyAbsListView$OnScrollListener;

.field private mPendingCheckForKeyLongPress:Landroid/widget/MyAbsListView$CheckForKeyLongPress;

.field private mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

.field private mPendingCheckForTap:Ljava/lang/Runnable;

.field private mPerformClick:Landroid/widget/MyAbsListView$PerformClick;

.field mPopup:Landroid/widget/PopupWindow;

.field final mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

.field mResurrectToPosition:I

.field mScrollDown:Landroid/view/View;

.field private mScrollProfilingStarted:Z

.field mScrollUp:Landroid/view/View;

.field mScrollingCacheEnabled:Z

.field mSelectedTop:I

.field mSelectionBottomPadding:I

.field mSelectionLeftPadding:I

.field mSelectionRightPadding:I

.field mSelectionTopPadding:I

.field mSelector:Landroid/graphics/drawable/Drawable;

.field mSelectorRect:Landroid/graphics/Rect;

.field private mSmoothScrollbarEnabled:Z

.field mStackFromBottom:Z

.field mTextFilter:Landroid/widget/EditText;

.field private mTextFilterEnabled:Z

.field private mTouchFrame:Landroid/graphics/Rect;

.field mTouchMode:I

.field private mTouchSlop:I

.field private mTranscriptMode:I

.field private mVelocityTracker:Landroid/view/VelocityTracker;

.field mWidthMeasureSpec:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 5
    .parameter "context"

    .prologue
    const/4 v4, 0x1

    const/4 v3, -0x1

    const/4 v2, 0x0

    .line 480
    invoke-direct {p0, p1}, Landroid/widget/MyAdapterView;-><init>(Landroid/content/Context;)V

    .line 171
    iput v2, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 186
    iput-boolean v2, p0, Landroid/widget/MyAbsListView;->mDrawSelectorOnTop:Z

    .line 196
    new-instance v1, Landroid/graphics/Rect;

    invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V

    iput-object v1, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    .line 202
    new-instance v1, Landroid/widget/MyAbsListView$RecycleBin;

    invoke-direct {v1, p0}, Landroid/widget/MyAbsListView$RecycleBin;-><init>(Landroid/widget/MyAbsListView;)V

    iput-object v1, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    .line 207
    iput v2, p0, Landroid/widget/MyAbsListView;->mSelectionLeftPadding:I

    .line 212
    iput v2, p0, Landroid/widget/MyAbsListView;->mSelectionTopPadding:I

    .line 217
    iput v2, p0, Landroid/widget/MyAbsListView;->mSelectionRightPadding:I

    .line 222
    iput v2, p0, Landroid/widget/MyAbsListView;->mSelectionBottomPadding:I

    .line 227
    new-instance v1, Landroid/graphics/Rect;

    invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V

    iput-object v1, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    .line 232
    iput v2, p0, Landroid/widget/MyAbsListView;->mWidthMeasureSpec:I

    .line 279
    iput v3, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 305
    iput v2, p0, Landroid/widget/MyAbsListView;->mSelectedTop:I

    .line 340
    iput-boolean v4, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    .line 360
    iput v3, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 362
    const/4 v1, 0x0

    iput-object v1, p0, Landroid/widget/MyAbsListView;->mContextMenuInfo:Landroid/view/ContextMenu$ContextMenuInfo;

    .line 371
    iput v3, p0, Landroid/widget/MyAbsListView;->mLastTouchMode:I

    .line 374
    iput-boolean v2, p0, Landroid/widget/MyAbsListView;->mScrollProfilingStarted:Z

    .line 377
    iput-boolean v2, p0, Landroid/widget/MyAbsListView;->mFlingProfilingStarted:Z

    .line 419
    iput v2, p0, Landroid/widget/MyAbsListView;->mLastScrollState:I

    .line 481
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->initAbsListView()V

    .line 483
    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->setVerticalScrollBarEnabled(Z)V

    .line 484
    sget-object v1, Lcom/android/internal/R$styleable;->View:[I

    invoke-virtual {p1, v1}, Landroid/content/Context;->obtainStyledAttributes([I)Landroid/content/res/TypedArray;

    move-result-object v0

    .line 485
    .local v0, a:Landroid/content/res/TypedArray;
    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->initializeScrollbars(Landroid/content/res/TypedArray;)V

    .line 486
    invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V

    .line 487
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1
    .parameter "context"
    .parameter "attrs"

    .prologue
    .line 490
    const v0, 0x101006a

    invoke-direct {p0, p1, p2, v0}, Landroid/widget/MyAbsListView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 491
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 12
    .parameter "context"
    .parameter "attrs"
    .parameter "defStyle"

    .prologue
    const/4 v11, -0x1

    const/4 v10, 0x1

    const/4 v9, 0x0

    .line 494
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/MyAdapterView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 171
    iput v9, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 186
    iput-boolean v9, p0, Landroid/widget/MyAbsListView;->mDrawSelectorOnTop:Z

    .line 196
    new-instance v8, Landroid/graphics/Rect;

    invoke-direct {v8}, Landroid/graphics/Rect;-><init>()V

    iput-object v8, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    .line 202
    new-instance v8, Landroid/widget/MyAbsListView$RecycleBin;

    invoke-direct {v8, p0}, Landroid/widget/MyAbsListView$RecycleBin;-><init>(Landroid/widget/MyAbsListView;)V

    iput-object v8, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    .line 207
    iput v9, p0, Landroid/widget/MyAbsListView;->mSelectionLeftPadding:I

    .line 212
    iput v9, p0, Landroid/widget/MyAbsListView;->mSelectionTopPadding:I

    .line 217
    iput v9, p0, Landroid/widget/MyAbsListView;->mSelectionRightPadding:I

    .line 222
    iput v9, p0, Landroid/widget/MyAbsListView;->mSelectionBottomPadding:I

    .line 227
    new-instance v8, Landroid/graphics/Rect;

    invoke-direct {v8}, Landroid/graphics/Rect;-><init>()V

    iput-object v8, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    .line 232
    iput v9, p0, Landroid/widget/MyAbsListView;->mWidthMeasureSpec:I

    .line 279
    iput v11, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 305
    iput v9, p0, Landroid/widget/MyAbsListView;->mSelectedTop:I

    .line 340
    iput-boolean v10, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    .line 360
    iput v11, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 362
    const/4 v8, 0x0

    iput-object v8, p0, Landroid/widget/MyAbsListView;->mContextMenuInfo:Landroid/view/ContextMenu$ContextMenuInfo;

    .line 371
    iput v11, p0, Landroid/widget/MyAbsListView;->mLastTouchMode:I

    .line 374
    iput-boolean v9, p0, Landroid/widget/MyAbsListView;->mScrollProfilingStarted:Z

    .line 377
    iput-boolean v9, p0, Landroid/widget/MyAbsListView;->mFlingProfilingStarted:Z

    .line 419
    iput v9, p0, Landroid/widget/MyAbsListView;->mLastScrollState:I

    .line 495
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->initAbsListView()V

    .line 497
    sget-object v8, Lcom/android/internal/R$styleable;->AbsListView:[I

    invoke-virtual {p1, p2, v8, p3, v9}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;

    move-result-object v0

    .line 500
    .local v0, a:Landroid/content/res/TypedArray;
    invoke-virtual {v0, v9}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    .line 501
    .local v2, d:Landroid/graphics/drawable/Drawable;
    if-eqz v2, :cond_0

    .line 502
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->setSelector(Landroid/graphics/drawable/Drawable;)V

    .line 505
    :cond_0
    invoke-virtual {v0, v10, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v8

    iput-boolean v8, p0, Landroid/widget/MyAbsListView;->mDrawSelectorOnTop:Z

    .line 508
    const/4 v8, 0x2

    invoke-virtual {v0, v8, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v5

    .line 509
    .local v5, stackFromBottom:Z
    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->setStackFromBottom(Z)V

    .line 511
    const/4 v8, 0x3

    invoke-virtual {v0, v8, v10}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v3

    .line 512
    .local v3, scrollingCacheEnabled:Z
    invoke-virtual {p0, v3}, Landroid/widget/MyAbsListView;->setScrollingCacheEnabled(Z)V

    .line 514
    const/4 v8, 0x4

    invoke-virtual {v0, v8, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v7

    .line 515
    .local v7, useTextFilter:Z
    invoke-virtual {p0, v7}, Landroid/widget/MyAbsListView;->setTextFilterEnabled(Z)V

    .line 517
    const/4 v8, 0x5

    invoke-virtual {v0, v8, v9}, Landroid/content/res/TypedArray;->getInt(II)I

    move-result v6

    .line 519
    .local v6, transcriptMode:I
    invoke-virtual {p0, v6}, Landroid/widget/MyAbsListView;->setTranscriptMode(I)V

    .line 521
    const/4 v8, 0x6

    invoke-virtual {v0, v8, v9}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v1

    .line 522
    .local v1, color:I
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setCacheColorHint(I)V

    .line 527
    const/16 v8, 0x8

    invoke-virtual {v0, v8, v10}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v4

    .line 528
    .local v4, smoothScrollbar:Z
    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->setSmoothScrollbarEnabled(Z)V

    .line 530
    invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V

    .line 531
    return-void
.end method

.method private acceptFilter()Z
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 902
    iget-boolean v2, p0, Landroid/widget/MyAbsListView;->mTextFilterEnabled:Z

    if-eqz v2, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getAdapter()Landroid/widget/Adapter;

    move-result-object v2

    instance-of v2, v2, Landroid/widget/Filterable;

    if-eqz v2, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getAdapter()Landroid/widget/Adapter;

    move-result-object v2

    check-cast v2, Landroid/widget/Filterable;

    invoke-interface {v2}, Landroid/widget/Filterable;->getFilter()Landroid/widget/Filter;

    move-result-object v2

    if-nez v2, :cond_1

    :cond_0
    move v2, v3

    .line 909
    :goto_0
    return v2

    .line 906
    :cond_1
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mContext:Landroid/content/Context;

    .line 907
    .local v0, context:Landroid/content/Context;
    const-string v2, "input_method"

    invoke-virtual {v0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/inputmethod/InputMethodManager;

    .line 909
    .local v1, inputManager:Landroid/view/inputmethod/InputMethodManager;
    invoke-virtual {v1}, Landroid/view/inputmethod/InputMethodManager;->isFullscreenMode()Z

    move-result v2

    if-nez v2, :cond_2

    const/4 v2, 0x1

    goto :goto_0

    :cond_2
    move v2, v3

    goto :goto_0
.end method

.method static synthetic access$1000(Landroid/widget/MyAbsListView;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    iget v0, p0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    return v0
.end method

.method static synthetic access$1100(Landroid/widget/MyAbsListView;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    iget v0, p0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    return v0
.end method

.method static synthetic access$1200(Landroid/widget/MyAbsListView;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    iget v0, p0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    return v0
.end method

.method static synthetic access$1300(Landroid/widget/MyAbsListView;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    iget v0, p0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    return v0
.end method

.method static synthetic access$1500(Landroid/widget/MyAbsListView;Landroid/view/View;Z)V
    .locals 0
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"

    .prologue
    .line 68
    invoke-virtual {p0, p1, p2}, Landroid/widget/MyAbsListView;->removeDetachedView(Landroid/view/View;Z)V

    return-void
.end method

.method static synthetic access$1600(Landroid/widget/MyAbsListView;Landroid/view/View;Z)V
    .locals 0
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"

    .prologue
    .line 68
    invoke-virtual {p0, p1, p2}, Landroid/widget/MyAbsListView;->removeDetachedView(Landroid/view/View;Z)V

    return-void
.end method

.method static synthetic access$1700(Landroid/widget/MyAbsListView;Landroid/view/View;Z)V
    .locals 0
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"

    .prologue
    .line 68
    invoke-virtual {p0, p1, p2}, Landroid/widget/MyAbsListView;->removeDetachedView(Landroid/view/View;Z)V

    return-void
.end method

.method static synthetic access$200(Landroid/widget/MyAbsListView;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getWindowAttachCount()I

    move-result v0

    return v0
.end method

.method static synthetic access$300(Landroid/widget/MyAbsListView;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getWindowAttachCount()I

    move-result v0

    return v0
.end method

.method static synthetic access$500(Landroid/widget/MyAbsListView;Landroid/view/View;IJ)Z
    .locals 1
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"
    .parameter "x3"

    .prologue
    .line 68
    invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/MyAbsListView;->performLongPress(Landroid/view/View;IJ)Z

    move-result v0

    return v0
.end method

.method static synthetic access$600(Landroid/widget/MyAbsListView;)Landroid/widget/MyAbsListView$CheckForLongPress;
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

    return-object v0
.end method

.method static synthetic access$602(Landroid/widget/MyAbsListView;Landroid/widget/MyAbsListView$CheckForLongPress;)Landroid/widget/MyAbsListView$CheckForLongPress;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 68
    iput-object p1, p0, Landroid/widget/MyAbsListView;->mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

    return-object p1
.end method

.method static synthetic access$900(Landroid/widget/MyAbsListView;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 68
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->clearScrollingCache()V

    return-void
.end method

.method private clearScrollingCache()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 2355
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mCachingStarted:Z

    if-eqz v0, :cond_2

    .line 2356
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setChildrenDrawnWithCacheEnabled(Z)V

    .line 2357
    iget v0, p0, Landroid/widget/MyAbsListView;->mPersistentDrawingCache:I

    and-int/lit8 v0, v0, 0x2

    if-nez v0, :cond_0

    .line 2358
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setChildrenDrawingCacheEnabled(Z)V

    .line 2360
    :cond_0
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isAlwaysDrawnWithCacheEnabled()Z

    move-result v0

    if-nez v0, :cond_1

    .line 2361
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 2363
    :cond_1
    iput-boolean v1, p0, Landroid/widget/MyAbsListView;->mCachingStarted:Z

    .line 2365
    :cond_2
    return-void
.end method

.method private createScrollingCache()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    .line 2347
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mScrollingCacheEnabled:Z

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mCachingStarted:Z

    if-nez v0, :cond_0

    .line 2348
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setChildrenDrawnWithCacheEnabled(Z)V

    .line 2349
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setChildrenDrawingCacheEnabled(Z)V

    .line 2350
    iput-boolean v1, p0, Landroid/widget/MyAbsListView;->mCachingStarted:Z

    .line 2352
    :cond_0
    return-void
.end method

.method private createTextFilter(Z)V
    .locals 8
    .parameter "animateEntrance"

    .prologue
    const/4 v7, 0x0

    const/4 v6, 0x0

    const/4 v5, -0x2

    .line 2978
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-nez v3, :cond_0

    .line 2979
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getContext()Landroid/content/Context;

    move-result-object v0

    .line 2980
    .local v0, c:Landroid/content/Context;
    new-instance v2, Landroid/widget/PopupWindow;

    invoke-direct {v2, v0}, Landroid/widget/PopupWindow;-><init>(Landroid/content/Context;)V

    .line 2981
    .local v2, p:Landroid/widget/PopupWindow;
    const-string v3, "layout_inflater"

    invoke-virtual {v0, v3}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/LayoutInflater;

    .line 2983
    .local v1, layoutInflater:Landroid/view/LayoutInflater;
    const v3, 0x1090067

    invoke-virtual {v1, v3, v7}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/EditText;

    iput-object v3, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    .line 2988
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    const/16 v4, 0xb1

    invoke-virtual {v3, v4}, Landroid/widget/EditText;->setRawInputType(I)V

    .line 2990
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v3, p0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 2991
    invoke-virtual {v2, v6}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    .line 2992
    invoke-virtual {v2, v6}, Landroid/widget/PopupWindow;->setTouchable(Z)V

    .line 2993
    const/4 v3, 0x2

    invoke-virtual {v2, v3}, Landroid/widget/PopupWindow;->setInputMethodMode(I)V

    .line 2994
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v2, v3}, Landroid/widget/PopupWindow;->setContentView(Landroid/view/View;)V

    .line 2995
    invoke-virtual {v2, v5}, Landroid/widget/PopupWindow;->setWidth(I)V

    .line 2996
    invoke-virtual {v2, v5}, Landroid/widget/PopupWindow;->setHeight(I)V

    .line 2997
    invoke-virtual {v2, v7}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 2998
    iput-object v2, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    .line 2999
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v3

    invoke-virtual {v3, p0}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 3001
    .end local v0           #c:Landroid/content/Context;
    .end local v1           #layoutInflater:Landroid/view/LayoutInflater;
    .end local v2           #p:Landroid/widget/PopupWindow;
    :cond_0
    if-eqz p1, :cond_1

    .line 3002
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    const v4, 0x1030063

    invoke-virtual {v3, v4}, Landroid/widget/PopupWindow;->setAnimationStyle(I)V

    .line 3006
    :goto_0
    return-void

    .line 3004
    :cond_1
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    const v4, 0x1030064

    invoke-virtual {v3, v4}, Landroid/widget/PopupWindow;->setAnimationStyle(I)V

    goto :goto_0
.end method

.method private drawSelector(Landroid/graphics/Canvas;)V
    .locals 2
    .parameter "canvas"

    .prologue
    .line 1366
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->shouldShowSelector()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    if-eqz v1, :cond_0

    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    invoke-virtual {v1}, Landroid/graphics/Rect;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_0

    .line 1367
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    .line 1368
    .local v0, selector:Landroid/graphics/drawable/Drawable;
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setBounds(Landroid/graphics/Rect;)V

    .line 1369
    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    .line 1371
    .end local v0           #selector:Landroid/graphics/drawable/Drawable;
    :cond_0
    return-void
.end method

.method static getDistance(Landroid/graphics/Rect;Landroid/graphics/Rect;I)I
    .locals 8
    .parameter "source"
    .parameter "dest"
    .parameter "direction"

    .prologue
    .line 2845
    sparse-switch p2, :sswitch_data_0

    .line 2871
    new-instance v6, Ljava/lang/IllegalArgumentException;

    const-string v7, "direction must be one of {FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, FOCUS_RIGHT}."

    invoke-direct {v6, v7}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v6

    .line 2847
    :sswitch_0
    iget v4, p0, Landroid/graphics/Rect;->right:I

    .line 2848
    .local v4, sX:I
    iget v6, p0, Landroid/graphics/Rect;->top:I

    invoke-virtual {p0}, Landroid/graphics/Rect;->height()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v5, v6, v7

    .line 2849
    .local v5, sY:I
    iget v0, p1, Landroid/graphics/Rect;->left:I

    .line 2850
    .local v0, dX:I
    iget v6, p1, Landroid/graphics/Rect;->top:I

    invoke-virtual {p1}, Landroid/graphics/Rect;->height()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v1, v6, v7

    .line 2874
    .local v1, dY:I
    :goto_0
    sub-int v2, v0, v4

    .line 2875
    .local v2, deltaX:I
    sub-int v3, v1, v5

    .line 2876
    .local v3, deltaY:I
    mul-int v6, v3, v3

    mul-int v7, v2, v2

    add-int/2addr v6, v7

    return v6

    .line 2853
    .end local v0           #dX:I
    .end local v1           #dY:I
    .end local v2           #deltaX:I
    .end local v3           #deltaY:I
    .end local v4           #sX:I
    .end local v5           #sY:I
    :sswitch_1
    iget v6, p0, Landroid/graphics/Rect;->left:I

    invoke-virtual {p0}, Landroid/graphics/Rect;->width()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v4, v6, v7

    .line 2854
    .restart local v4       #sX:I
    iget v5, p0, Landroid/graphics/Rect;->bottom:I

    .line 2855
    .restart local v5       #sY:I
    iget v6, p1, Landroid/graphics/Rect;->left:I

    invoke-virtual {p1}, Landroid/graphics/Rect;->width()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v0, v6, v7

    .line 2856
    .restart local v0       #dX:I
    iget v1, p1, Landroid/graphics/Rect;->top:I

    .line 2857
    .restart local v1       #dY:I
    goto :goto_0

    .line 2859
    .end local v0           #dX:I
    .end local v1           #dY:I
    .end local v4           #sX:I
    .end local v5           #sY:I
    :sswitch_2
    iget v4, p0, Landroid/graphics/Rect;->left:I

    .line 2860
    .restart local v4       #sX:I
    iget v6, p0, Landroid/graphics/Rect;->top:I

    invoke-virtual {p0}, Landroid/graphics/Rect;->height()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v5, v6, v7

    .line 2861
    .restart local v5       #sY:I
    iget v0, p1, Landroid/graphics/Rect;->right:I

    .line 2862
    .restart local v0       #dX:I
    iget v6, p1, Landroid/graphics/Rect;->top:I

    invoke-virtual {p1}, Landroid/graphics/Rect;->height()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v1, v6, v7

    .line 2863
    .restart local v1       #dY:I
    goto :goto_0

    .line 2865
    .end local v0           #dX:I
    .end local v1           #dY:I
    .end local v4           #sX:I
    .end local v5           #sY:I
    :sswitch_3
    iget v6, p0, Landroid/graphics/Rect;->left:I

    invoke-virtual {p0}, Landroid/graphics/Rect;->width()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v4, v6, v7

    .line 2866
    .restart local v4       #sX:I
    iget v5, p0, Landroid/graphics/Rect;->top:I

    .line 2867
    .restart local v5       #sY:I
    iget v6, p1, Landroid/graphics/Rect;->left:I

    invoke-virtual {p1}, Landroid/graphics/Rect;->width()I

    move-result v7

    div-int/lit8 v7, v7, 0x2

    add-int v0, v6, v7

    .line 2868
    .restart local v0       #dX:I
    iget v1, p1, Landroid/graphics/Rect;->bottom:I

    .line 2869
    .restart local v1       #dY:I
    goto :goto_0

    .line 2845
    :sswitch_data_0
    .sparse-switch
        0x11 -> :sswitch_2
        0x21 -> :sswitch_3
        0x42 -> :sswitch_0
        0x82 -> :sswitch_1
    .end sparse-switch
.end method

.method private initAbsListView()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    const/4 v0, 0x0

    .line 708
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setFocusableInTouchMode(Z)V

    .line 709
    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->setWillNotDraw(Z)V

    .line 710
    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->setAlwaysDrawnWithCacheEnabled(Z)V

    .line 711
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setScrollingCacheEnabled(Z)V

    .line 713
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mContext:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result v0

    iput v0, p0, Landroid/widget/MyAbsListView;->mTouchSlop:I

    .line 714
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    iput v0, p0, Landroid/widget/MyAbsListView;->mDensityScale:F

    .line 715
    return-void
.end method

.method private performLongPress(Landroid/view/View;IJ)Z
    .locals 7
    .parameter "child"
    .parameter "longPressPosition"
    .parameter "longPressId"

    .prologue
    .line 1672
    const/4 v6, 0x0

    .line 1674
    .local v6, handled:Z
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnItemLongClickListener:Landroid/widget/MyAdapterView$OnItemLongClickListener;

    if-eqz v0, :cond_0

    .line 1675
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnItemLongClickListener:Landroid/widget/MyAdapterView$OnItemLongClickListener;

    move-object v1, p0

    move-object v2, p1

    move v3, p2

    move-wide v4, p3

    invoke-interface/range {v0 .. v5}, Landroid/widget/MyAdapterView$OnItemLongClickListener;->onItemLongClick(Landroid/widget/MyAdapterView;Landroid/view/View;IJ)Z

    move-result v6

    .line 1678
    :cond_0
    if-nez v6, :cond_1

    .line 1679
    invoke-virtual {p0, p1, p2, p3, p4}, Landroid/widget/MyAbsListView;->createContextMenuInfo(Landroid/view/View;IJ)Landroid/view/ContextMenu$ContextMenuInfo;

    move-result-object v0

    iput-object v0, p0, Landroid/widget/MyAbsListView;->mContextMenuInfo:Landroid/view/ContextMenu$ContextMenuInfo;

    .line 1680
    invoke-super {p0, p0}, Landroid/widget/MyAdapterView;->showContextMenuForChild(Landroid/view/View;)Z

    move-result v6

    .line 1682
    :cond_1
    if-eqz v6, :cond_2

    .line 1683
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->performHapticFeedback(I)Z

    .line 1685
    :cond_2
    return v6
.end method

.method private positionPopup()V
    .locals 8

    .prologue
    const/4 v7, 0x0

    const/4 v6, -0x1

    .line 2818
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v3

    iget v1, v3, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 2819
    .local v1, screenHeight:I
    const/4 v3, 0x2

    new-array v2, v3, [I

    .line 2820
    .local v2, xy:[I
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->getLocationOnScreen([I)V

    .line 2823
    const/4 v3, 0x1

    aget v3, v2, v3

    sub-int v3, v1, v3

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v4

    sub-int/2addr v3, v4

    iget v4, p0, Landroid/widget/MyAbsListView;->mDensityScale:F

    const/high16 v5, 0x41a0

    mul-float/2addr v4, v5

    float-to-int v4, v4

    add-int v0, v3, v4

    .line 2824
    .local v0, bottomGap:I
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v3}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v3

    if-nez v3, :cond_0

    .line 2825
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    const/16 v4, 0x51

    aget v5, v2, v7

    invoke-virtual {v3, p0, v4, v5, v0}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    .line 2830
    :goto_0
    return-void

    .line 2828
    :cond_0
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    aget v4, v2, v7

    invoke-virtual {v3, v4, v0, v6, v6}, Landroid/widget/PopupWindow;->update(IIII)V

    goto :goto_0
.end method

.method private positionSelector(IIII)V
    .locals 5
    .parameter "l"
    .parameter "t"
    .parameter "r"
    .parameter "b"

    .prologue
    .line 1293
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectionLeftPadding:I

    sub-int v1, p1, v1

    iget v2, p0, Landroid/widget/MyAbsListView;->mSelectionTopPadding:I

    sub-int v2, p2, v2

    iget v3, p0, Landroid/widget/MyAbsListView;->mSelectionRightPadding:I

    add-int/2addr v3, p3

    iget v4, p0, Landroid/widget/MyAbsListView;->mSelectionBottomPadding:I

    add-int/2addr v4, p4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1295
    return-void
.end method

.method private showPopup()V
    .locals 1

    .prologue
    .line 2809
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getWindowVisibility()I

    move-result v0

    if-nez v0, :cond_0

    .line 2810
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Landroid/widget/MyAbsListView;->createTextFilter(Z)V

    .line 2811
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->positionPopup()V

    .line 2813
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->checkFocus()V

    .line 2815
    :cond_0
    return-void
.end method

.method private startScrollIfNeeded(I)Z
    .locals 7
    .parameter "deltaY"

    .prologue
    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 1832
    invoke-static {p1}, Ljava/lang/Math;->abs(I)I

    move-result v0

    .line 1833
    .local v0, distance:I
    iget v3, p0, Landroid/widget/MyAbsListView;->mTouchSlop:I

    if-le v0, v3, :cond_2

    .line 1834
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->createScrollingCache()V

    .line 1835
    const/4 v3, 0x3

    iput v3, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 1836
    iput p1, p0, Landroid/widget/MyAbsListView;->mMotionCorrection:I

    .line 1837
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHandler()Landroid/os/Handler;

    move-result-object v1

    .line 1841
    .local v1, handler:Landroid/os/Handler;
    if-eqz v1, :cond_0

    .line 1842
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

    invoke-virtual {v1, v3}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 1844
    :cond_0
    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->setPressed(Z)V

    .line 1845
    iget v3, p0, Landroid/widget/MyAbsListView;->mMotionPosition:I

    iget v4, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    sub-int/2addr v3, v4

    invoke-virtual {p0, v3}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    .line 1846
    .local v2, motionView:Landroid/view/View;
    if-eqz v2, :cond_1

    .line 1847
    invoke-virtual {v2, v5}, Landroid/view/View;->setPressed(Z)V

    .line 1849
    :cond_1
    invoke-virtual {p0, v6}, Landroid/widget/MyAbsListView;->reportScrollStateChange(I)V

    .line 1852
    invoke-virtual {p0, v6}, Landroid/widget/MyAbsListView;->requestDisallowInterceptTouchEvent(Z)V

    move v3, v6

    .line 1856
    .end local v1           #handler:Landroid/os/Handler;
    .end local v2           #motionView:Landroid/view/View;
    :goto_0
    return v3

    :cond_2
    move v3, v5

    goto :goto_0
.end method

.method private useDefaultSelector()V
    .locals 2

    .prologue
    .line 718
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x1080062

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->setSelector(Landroid/graphics/drawable/Drawable;)V

    .line 720
    return-void
.end method


# virtual methods
.method public addTouchables(Ljava/util/ArrayList;)V
    .locals 6
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Landroid/view/View;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 2182
    .local p1, views:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Landroid/view/View;>;"
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v2

    .line 2183
    .local v2, count:I
    iget v3, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    .line 2184
    .local v3, firstPosition:I
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    .line 2186
    .local v0, adapter:Landroid/widget/ListAdapter;
    if-nez v0, :cond_1

    .line 2197
    :cond_0
    return-void

    .line 2190
    :cond_1
    const/4 v4, 0x0

    .local v4, i:I
    :goto_0
    if-ge v4, v2, :cond_0

    .line 2191
    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    .line 2192
    .local v1, child:Landroid/view/View;
    add-int v5, v3, v4

    invoke-interface {v0, v5}, Landroid/widget/ListAdapter;->isEnabled(I)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 2193
    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 2195
    :cond_2
    invoke-virtual {v1, p1}, Landroid/view/View;->addTouchables(Ljava/util/ArrayList;)V

    .line 2190
    add-int/lit8 v4, v4, 0x1

    goto :goto_0
.end method

.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 0
    .parameter "s"

    .prologue
    .line 3083
    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0
    .parameter "s"
    .parameter "start"
    .parameter "count"
    .parameter "after"

    .prologue
    .line 3047
    return-void
.end method

.method public checkInputConnectionProxy(Landroid/view/View;)Z
    .locals 1
    .parameter "view"

    .prologue
    .line 2969
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    if-ne p1, v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
    .locals 1
    .parameter "p"

    .prologue
    .line 3104
    instance-of v0, p1, Landroid/widget/MyAbsListView$LayoutParams;

    return v0
.end method

.method public clearTextFilter()V
    .locals 2

    .prologue
    .line 3012
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    if-eqz v0, :cond_0

    .line 3013
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 3014
    const/4 v0, 0x0

    iput-boolean v0, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    .line 3015
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3016
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->dismissPopup()V

    .line 3019
    :cond_0
    return-void
.end method

.method protected computeVerticalScrollExtent()I
    .locals 9

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 998
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v1

    .line 999
    .local v1, count:I
    if-lez v1, :cond_3

    .line 1000
    iget-boolean v6, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    if-eqz v6, :cond_2

    .line 1001
    mul-int/lit8 v2, v1, 0x64

    .line 1003
    .local v2, extent:I
    invoke-virtual {p0, v7}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    .line 1004
    .local v5, view:Landroid/view/View;
    invoke-virtual {v5}, Landroid/view/View;->getTop()I

    move-result v4

    .line 1005
    .local v4, top:I
    invoke-virtual {v5}, Landroid/view/View;->getHeight()I

    move-result v3

    .line 1006
    .local v3, height:I
    if-lez v3, :cond_0

    .line 1007
    mul-int/lit8 v6, v4, 0x64

    div-int/2addr v6, v3

    add-int/2addr v2, v6

    .line 1010
    :cond_0
    sub-int v6, v1, v8

    invoke-virtual {p0, v6}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    .line 1011
    invoke-virtual {v5}, Landroid/view/View;->getBottom()I

    move-result v0

    .line 1012
    .local v0, bottom:I
    invoke-virtual {v5}, Landroid/view/View;->getHeight()I

    move-result v3

    .line 1013
    if-lez v3, :cond_1

    .line 1014
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v6

    sub-int v6, v0, v6

    mul-int/lit8 v6, v6, 0x64

    div-int/2addr v6, v3

    sub-int/2addr v2, v6

    :cond_1
    move v6, v2

    .line 1022
    .end local v0           #bottom:I
    .end local v2           #extent:I
    .end local v3           #height:I
    .end local v4           #top:I
    .end local v5           #view:Landroid/view/View;
    :goto_0
    return v6

    :cond_2
    move v6, v8

    .line 1019
    goto :goto_0

    :cond_3
    move v6, v7

    .line 1022
    goto :goto_0
.end method

.method protected computeVerticalScrollOffset()I
    .locals 11

    .prologue
    const/4 v9, 0x0

    .line 1027
    iget v2, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    .line 1028
    .local v2, firstPosition:I
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v0

    .line 1029
    .local v0, childCount:I
    if-ltz v2, :cond_3

    if-lez v0, :cond_3

    .line 1030
    iget-boolean v7, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    if-eqz v7, :cond_0

    .line 1031
    invoke-virtual {p0, v9}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    .line 1032
    .local v6, view:Landroid/view/View;
    invoke-virtual {v6}, Landroid/view/View;->getTop()I

    move-result v5

    .line 1033
    .local v5, top:I
    invoke-virtual {v6}, Landroid/view/View;->getHeight()I

    move-result v3

    .line 1034
    .local v3, height:I
    if-lez v3, :cond_3

    .line 1035
    mul-int/lit8 v7, v2, 0x64

    mul-int/lit8 v8, v5, 0x64

    div-int/2addr v8, v3

    sub-int/2addr v7, v8

    invoke-static {v7, v9}, Ljava/lang/Math;->max(II)I

    move-result v7

    .line 1050
    .end local v3           #height:I
    .end local v5           #top:I
    .end local v6           #view:Landroid/view/View;
    :goto_0
    return v7

    .line 1039
    :cond_0
    iget v1, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    .line 1040
    .local v1, count:I
    if-nez v2, :cond_1

    .line 1041
    const/4 v4, 0x0

    .line 1047
    .local v4, index:I
    :goto_1
    int-to-float v7, v2

    int-to-float v8, v0

    int-to-float v9, v4

    int-to-float v10, v1

    div-float/2addr v9, v10

    mul-float/2addr v8, v9

    add-float/2addr v7, v8

    float-to-int v7, v7

    goto :goto_0

    .line 1042
    .end local v4           #index:I
    :cond_1
    add-int v7, v2, v0

    if-ne v7, v1, :cond_2

    .line 1043
    move v4, v1

    .restart local v4       #index:I
    goto :goto_1

    .line 1045
    .end local v4           #index:I
    :cond_2
    div-int/lit8 v7, v0, 0x2

    add-int v4, v2, v7

    .restart local v4       #index:I
    goto :goto_1

    .end local v1           #count:I
    .end local v4           #index:I
    :cond_3
    move v7, v9

    .line 1050
    goto :goto_0
.end method

.method protected computeVerticalScrollRange()I
    .locals 2

    .prologue
    .line 1055
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    if-eqz v0, :cond_0

    iget v0, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    mul-int/lit8 v0, v0, 0x64

    const/4 v1, 0x0

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    :goto_0
    return v0

    :cond_0
    iget v0, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    goto :goto_0
.end method

.method createContextMenuInfo(Landroid/view/View;IJ)Landroid/view/ContextMenu$ContextMenuInfo;
    .locals 1
    .parameter "view"
    .parameter "position"
    .parameter "id"

    .prologue
    .line 1586
    new-instance v0, Landroid/widget/MyAdapterView$AdapterContextMenuInfo;

    invoke-direct {v0, p1, p2, p3, p4}, Landroid/widget/MyAdapterView$AdapterContextMenuInfo;-><init>(Landroid/view/View;IJ)V

    return-object v0
.end method

.method dismissPopup()V
    .locals 1

    .prologue
    .line 2799
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    .line 2800
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    .line 2802
    :cond_0
    return-void
.end method

.method protected dispatchDraw(Landroid/graphics/Canvas;)V
    .locals 10
    .parameter "canvas"

    .prologue
    .line 1299
    const/4 v2, 0x0

    .line 1300
    .local v2, saveCount:I
    iget v5, p0, Landroid/widget/MyAbsListView;->mGroupFlags:I

    and-int/lit8 v5, v5, 0x22

    const/16 v6, 0x22

    if-ne v5, v6, :cond_4

    const/4 v5, 0x1

    move v0, v5

    .line 1301
    .local v0, clipToPadding:Z
    :goto_0
    if-eqz v0, :cond_0

    .line 1302
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    move-result v2

    .line 1303
    iget v3, p0, Landroid/widget/MyAbsListView;->mScrollX:I

    .line 1304
    .local v3, scrollX:I
    iget v4, p0, Landroid/widget/MyAbsListView;->mScrollY:I

    .line 1305
    .local v4, scrollY:I
    iget v5, p0, Landroid/widget/MyAbsListView;->mPaddingLeft:I

    add-int/2addr v5, v3

    iget v6, p0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    add-int/2addr v6, v4

    iget v7, p0, Landroid/widget/MyAbsListView;->mRight:I

    add-int/2addr v7, v3

    iget v8, p0, Landroid/widget/MyAbsListView;->mLeft:I

    sub-int/2addr v7, v8

    iget v8, p0, Landroid/widget/MyAbsListView;->mPaddingRight:I

    sub-int/2addr v7, v8

    iget v8, p0, Landroid/widget/MyAbsListView;->mBottom:I

    add-int/2addr v8, v4

    iget v9, p0, Landroid/widget/MyAbsListView;->mTop:I

    sub-int/2addr v8, v9

    iget v9, p0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    sub-int/2addr v8, v9

    invoke-virtual {p1, v5, v6, v7, v8}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    .line 1308
    iget v5, p0, Landroid/widget/MyAbsListView;->mGroupFlags:I

    and-int/lit8 v5, v5, -0x23

    iput v5, p0, Landroid/widget/MyAbsListView;->mGroupFlags:I

    .line 1311
    .end local v3           #scrollX:I
    .end local v4           #scrollY:I
    :cond_0
    iget-boolean v1, p0, Landroid/widget/MyAbsListView;->mDrawSelectorOnTop:Z

    .line 1312
    .local v1, drawSelectorOnTop:Z
    if-nez v1, :cond_1

    .line 1313
    invoke-direct {p0, p1}, Landroid/widget/MyAbsListView;->drawSelector(Landroid/graphics/Canvas;)V

    .line 1316
    :cond_1
    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->dispatchDraw(Landroid/graphics/Canvas;)V

    .line 1318
    if-eqz v1, :cond_2

    .line 1319
    invoke-direct {p0, p1}, Landroid/widget/MyAbsListView;->drawSelector(Landroid/graphics/Canvas;)V

    .line 1322
    :cond_2
    if-eqz v0, :cond_3

    .line 1323
    invoke-virtual {p1, v2}, Landroid/graphics/Canvas;->restoreToCount(I)V

    .line 1324
    iget v5, p0, Landroid/widget/MyAbsListView;->mGroupFlags:I

    or-int/lit8 v5, v5, 0x22

    iput v5, p0, Landroid/widget/MyAbsListView;->mGroupFlags:I

    .line 1326
    :cond_3
    return-void

    .line 1300
    .end local v0           #clipToPadding:Z
    .end local v1           #drawSelectorOnTop:Z
    :cond_4
    const/4 v5, 0x0

    move v0, v5

    goto :goto_0
.end method

.method protected dispatchSetPressed(Z)V
    .locals 0
    .parameter "pressed"

    .prologue
    .line 1737
    return-void
.end method

.method public draw(Landroid/graphics/Canvas;)V
    .locals 0
    .parameter "canvas"

    .prologue
    .line 2118
    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->draw(Landroid/graphics/Canvas;)V

    .line 2122
    return-void
.end method

.method protected drawableStateChanged()V
    .locals 2

    .prologue
    .line 1468
    invoke-super {p0}, Landroid/widget/MyAdapterView;->drawableStateChanged()V

    .line 1469
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_0

    .line 1470
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getDrawableState()[I

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    .line 1472
    :cond_0
    return-void
.end method

.method abstract fillGap(Z)V
.end method

.method abstract findMotionRow(I)I
.end method

.method public bridge synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
    .locals 1
    .parameter "x0"

    .prologue
    .line 68
    invoke-virtual {p0, p1}, Landroid/widget/MyAbsListView;->generateLayoutParams(Landroid/util/AttributeSet;)Landroid/widget/MyAbsListView$LayoutParams;

    move-result-object v0

    return-object v0
.end method

.method protected generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
    .locals 1
    .parameter "p"

    .prologue
    .line 3094
    new-instance v0, Landroid/widget/MyAbsListView$LayoutParams;

    invoke-direct {v0, p1}, Landroid/widget/MyAbsListView$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V

    return-object v0
.end method

.method public generateLayoutParams(Landroid/util/AttributeSet;)Landroid/widget/MyAbsListView$LayoutParams;
    .locals 2
    .parameter "attrs"

    .prologue
    .line 3099
    new-instance v0, Landroid/widget/MyAbsListView$LayoutParams;

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Landroid/widget/MyAbsListView$LayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-object v0
.end method

.method protected getBottomFadingEdgeStrength()F
    .locals 8

    .prologue
    const/4 v7, 0x1

    .line 1077
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v1

    .line 1078
    .local v1, count:I
    invoke-super {p0}, Landroid/widget/MyAdapterView;->getBottomFadingEdgeStrength()F

    move-result v2

    .line 1079
    .local v2, fadeEdge:F
    if-nez v1, :cond_0

    move v5, v2

    .line 1089
    :goto_0
    return v5

    .line 1082
    :cond_0
    iget v5, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    add-int/2addr v5, v1

    sub-int/2addr v5, v7

    iget v6, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    sub-int/2addr v6, v7

    if-ge v5, v6, :cond_1

    .line 1083
    const/high16 v5, 0x3f80

    goto :goto_0

    .line 1086
    :cond_1
    sub-int v5, v1, v7

    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/View;->getBottom()I

    move-result v0

    .line 1087
    .local v0, bottom:I
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v4

    .line 1088
    .local v4, height:I
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getVerticalFadingEdgeLength()I

    move-result v5

    int-to-float v3, v5

    .line 1089
    .local v3, fadeLength:F
    iget v5, p0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    sub-int v5, v4, v5

    if-le v0, v5, :cond_2

    sub-int v5, v0, v4

    iget v6, p0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    add-int/2addr v5, v6

    int-to-float v5, v5

    div-float/2addr v5, v3

    goto :goto_0

    :cond_2
    move v5, v2

    goto :goto_0
.end method

.method public getCacheColorHint()I
    .locals 1

    .prologue
    .line 3153
    iget v0, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    return v0
.end method

.method protected getContextMenuInfo()Landroid/view/ContextMenu$ContextMenuInfo;
    .locals 1

    .prologue
    .line 1690
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mContextMenuInfo:Landroid/view/ContextMenu$ContextMenuInfo;

    return-object v0
.end method

.method public getFocusedRect(Landroid/graphics/Rect;)V
    .locals 1
    .parameter "r"

    .prologue
    .line 694
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getSelectedView()Landroid/view/View;

    move-result-object v0

    .line 695
    .local v0, view:Landroid/view/View;
    if-eqz v0, :cond_0

    .line 698
    invoke-virtual {v0, p1}, Landroid/view/View;->getFocusedRect(Landroid/graphics/Rect;)V

    .line 699
    invoke-virtual {p0, v0, p1}, Landroid/widget/MyAbsListView;->offsetDescendantRectToMyCoords(Landroid/view/View;Landroid/graphics/Rect;)V

    .line 704
    :goto_0
    return-void

    .line 702
    :cond_0
    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->getFocusedRect(Landroid/graphics/Rect;)V

    goto :goto_0
.end method

.method getFooterViewsCount()I
    .locals 1

    .prologue
    .line 2511
    const/4 v0, 0x0

    return v0
.end method

.method getHeaderViewsCount()I
    .locals 1

    .prologue
    .line 2501
    const/4 v0, 0x0

    return v0
.end method

.method public getListPaddingBottom()I
    .locals 1

    .prologue
    .line 1200
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->bottom:I

    return v0
.end method

.method public getListPaddingLeft()I
    .locals 1

    .prologue
    .line 1212
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->left:I

    return v0
.end method

.method public getListPaddingRight()I
    .locals 1

    .prologue
    .line 1224
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->right:I

    return v0
.end method

.method public getListPaddingTop()I
    .locals 1

    .prologue
    .line 1188
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->top:I

    return v0
.end method

.method public getSelectedView()Landroid/view/View;
    .locals 2
    .annotation runtime Landroid/view/ViewDebug$ExportedProperty;
    .end annotation

    .prologue
    .line 1172
    iget v0, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    if-lez v0, :cond_0

    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    if-ltz v0, :cond_0

    .line 1173
    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iget v1, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    sub-int/2addr v0, v1

    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 1175
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getSelector()Landroid/graphics/drawable/Drawable;
    .locals 1

    .prologue
    .line 1420
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    return-object v0
.end method

.method public getSolidColor()I
    .locals 1

    .prologue
    .line 3133
    iget v0, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    return v0
.end method

.method public getTextFilter()Ljava/lang/CharSequence;
    .locals 1

    .prologue
    .line 946
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mTextFilterEnabled:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    if-eqz v0, :cond_0

    .line 947
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    .line 949
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected getTopFadingEdgeStrength()F
    .locals 5

    .prologue
    .line 1060
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v0

    .line 1061
    .local v0, count:I
    invoke-super {p0}, Landroid/widget/MyAdapterView;->getTopFadingEdgeStrength()F

    move-result v1

    .line 1062
    .local v1, fadeEdge:F
    if-nez v0, :cond_0

    move v4, v1

    .line 1071
    :goto_0
    return v4

    .line 1065
    :cond_0
    iget v4, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    if-lez v4, :cond_1

    .line 1066
    const/high16 v4, 0x3f80

    goto :goto_0

    .line 1069
    :cond_1
    const/4 v4, 0x0

    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4}, Landroid/view/View;->getTop()I

    move-result v3

    .line 1070
    .local v3, top:I
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getVerticalFadingEdgeLength()I

    move-result v4

    int-to-float v2, v4

    .line 1071
    .local v2, fadeLength:F
    iget v4, p0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    if-ge v3, v4, :cond_2

    iget v4, p0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    sub-int v4, v3, v4

    neg-int v4, v4

    int-to-float v4, v4

    div-float/2addr v4, v2

    goto :goto_0

    :cond_2
    move v4, v1

    goto :goto_0
.end method

.method public getTranscriptMode()I
    .locals 1

    .prologue
    .line 3128
    iget v0, p0, Landroid/widget/MyAbsListView;->mTranscriptMode:I

    return v0
.end method

.method protected handleDataChanged()V
    .locals 10

    .prologue
    const/4 v9, 0x2

    const/4 v8, -0x1

    const/4 v7, 0x5

    const/4 v6, 0x0

    const/4 v5, 0x1

    .line 2682
    iget v0, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    .line 2683
    .local v0, count:I
    if-lez v0, :cond_a

    .line 2690
    iget-boolean v3, p0, Landroid/widget/MyAbsListView;->mNeedSync:Z

    if-eqz v3, :cond_3

    .line 2692
    iput-boolean v6, p0, Landroid/widget/MyAbsListView;->mNeedSync:Z

    .line 2694
    iget v3, p0, Landroid/widget/MyAbsListView;->mTranscriptMode:I

    if-eq v3, v9, :cond_0

    iget v3, p0, Landroid/widget/MyAbsListView;->mTranscriptMode:I

    if-ne v3, v5, :cond_2

    iget v3, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v4

    add-int/2addr v3, v4

    iget v4, p0, Landroid/widget/MyAbsListView;->mOldItemCount:I

    if-lt v3, v4, :cond_2

    .line 2697
    :cond_0
    const/4 v3, 0x3

    iput v3, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2793
    :cond_1
    :goto_0
    return-void

    .line 2701
    :cond_2
    iget v3, p0, Landroid/widget/MyAbsListView;->mSyncMode:I

    packed-switch v3, :pswitch_data_0

    .line 2749
    :cond_3
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isInTouchMode()Z

    move-result v3

    if-nez v3, :cond_9

    .line 2751
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getSelectedItemPosition()I

    move-result v1

    .line 2754
    .local v1, newPos:I
    if-lt v1, v0, :cond_4

    .line 2755
    sub-int v1, v0, v5

    .line 2757
    :cond_4
    if-gez v1, :cond_5

    .line 2758
    const/4 v1, 0x0

    .line 2762
    :cond_5
    invoke-virtual {p0, v1, v5}, Landroid/widget/MyAbsListView;->lookForSelectablePosition(IZ)I

    move-result v2

    .line 2764
    .local v2, selectablePos:I
    if-ltz v2, :cond_8

    .line 2765
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->setNextSelectedPositionInt(I)V

    goto :goto_0

    .line 2703
    .end local v1           #newPos:I
    .end local v2           #selectablePos:I
    :pswitch_0
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isInTouchMode()Z

    move-result v3

    if-eqz v3, :cond_6

    .line 2708
    iput v7, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2709
    iget v3, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    invoke-static {v6, v3}, Ljava/lang/Math;->max(II)I

    move-result v3

    sub-int v4, v0, v5

    invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I

    move-result v3

    iput v3, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    goto :goto_0

    .line 2715
    :cond_6
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->findSyncPosition()I

    move-result v1

    .line 2716
    .restart local v1       #newPos:I
    if-ltz v1, :cond_3

    .line 2718
    invoke-virtual {p0, v1, v5}, Landroid/widget/MyAbsListView;->lookForSelectablePosition(IZ)I

    move-result v2

    .line 2719
    .restart local v2       #selectablePos:I
    if-ne v2, v1, :cond_3

    .line 2721
    iput v1, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    .line 2723
    iget-wide v3, p0, Landroid/widget/MyAbsListView;->mSyncHeight:J

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v5

    int-to-long v5, v5

    cmp-long v3, v3, v5

    if-nez v3, :cond_7

    .line 2726
    iput v7, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2734
    :goto_1
    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->setNextSelectedPositionInt(I)V

    goto :goto_0

    .line 2730
    :cond_7
    iput v9, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    goto :goto_1

    .line 2742
    .end local v1           #newPos:I
    .end local v2           #selectablePos:I
    :pswitch_1
    iput v7, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2743
    iget v3, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    invoke-static {v6, v3}, Ljava/lang/Math;->max(II)I

    move-result v3

    sub-int v4, v0, v5

    invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I

    move-result v3

    iput v3, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    goto :goto_0

    .line 2769
    .restart local v1       #newPos:I
    .restart local v2       #selectablePos:I
    :cond_8
    invoke-virtual {p0, v1, v6}, Landroid/widget/MyAbsListView;->lookForSelectablePosition(IZ)I

    move-result v2

    .line 2770
    if-ltz v2, :cond_a

    .line 2771
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->setNextSelectedPositionInt(I)V

    goto :goto_0

    .line 2778
    .end local v1           #newPos:I
    .end local v2           #selectablePos:I
    :cond_9
    iget v3, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    if-gez v3, :cond_1

    .line 2786
    :cond_a
    iget-boolean v3, p0, Landroid/widget/MyAbsListView;->mStackFromBottom:Z

    if-eqz v3, :cond_b

    const/4 v3, 0x3

    :goto_2
    iput v3, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2787
    iput v8, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    .line 2788
    const-wide/high16 v3, -0x8000

    iput-wide v3, p0, Landroid/widget/MyAbsListView;->mSelectedRowId:J

    .line 2789
    iput v8, p0, Landroid/widget/MyAbsListView;->mNextSelectedPosition:I

    .line 2790
    const-wide/high16 v3, -0x8000

    iput-wide v3, p0, Landroid/widget/MyAbsListView;->mNextSelectedRowId:J

    .line 2791
    iput-boolean v6, p0, Landroid/widget/MyAbsListView;->mNeedSync:Z

    .line 2792
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->checkSelectionChanged()V

    goto/16 :goto_0

    :cond_b
    move v3, v5

    .line 2786
    goto :goto_2

    .line 2701
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public hasTextFilter()Z
    .locals 1

    .prologue
    .line 3025
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    return v0
.end method

.method hideSelector()V
    .locals 3

    .prologue
    const/4 v2, -0x1

    .line 2525
    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    if-eq v0, v2, :cond_1

    .line 2526
    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iput v0, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 2527
    iget v0, p0, Landroid/widget/MyAbsListView;->mNextSelectedPosition:I

    if-ltz v0, :cond_0

    iget v0, p0, Landroid/widget/MyAbsListView;->mNextSelectedPosition:I

    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    if-eq v0, v1, :cond_0

    .line 2528
    iget v0, p0, Landroid/widget/MyAbsListView;->mNextSelectedPosition:I

    iput v0, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 2530
    :cond_0
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->setSelectedPositionInt(I)V

    .line 2531
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->setNextSelectedPositionInt(I)V

    .line 2532
    const/4 v0, 0x0

    iput v0, p0, Landroid/widget/MyAbsListView;->mSelectedTop:I

    .line 2533
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    invoke-virtual {v0}, Landroid/graphics/Rect;->setEmpty()V

    .line 2535
    :cond_1
    return-void
.end method

.method public invalidateViews()V
    .locals 1

    .prologue
    .line 2564
    const/4 v0, 0x1

    iput-boolean v0, p0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    .line 2565
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->rememberSyncState()V

    .line 2566
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->requestLayout()V

    .line 2567
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 2568
    return-void
.end method

.method invokeOnItemScrollListener()V
    .locals 4

    .prologue
    .line 626
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnScrollListener:Landroid/widget/MyAbsListView$OnScrollListener;

    if-eqz v0, :cond_0

    .line 627
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnScrollListener:Landroid/widget/MyAbsListView$OnScrollListener;

    iget v1, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v2

    iget v3, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    invoke-interface {v0, p0, v1, v2, v3}, Landroid/widget/MyAbsListView$OnScrollListener;->onScroll(Landroid/widget/MyAbsListView;III)V

    .line 629
    :cond_0
    return-void
.end method

.method protected isInFilterMode()Z
    .locals 1

    .prologue
    .line 2881
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    return v0
.end method

.method public isScrollingCacheEnabled()Z
    .locals 1
    .annotation runtime Landroid/view/ViewDebug$ExportedProperty;
    .end annotation

    .prologue
    .line 642
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mScrollingCacheEnabled:Z

    return v0
.end method

.method public isSmoothScrollbarEnabled()Z
    .locals 1
    .annotation runtime Landroid/view/ViewDebug$ExportedProperty;
    .end annotation

    .prologue
    .line 606
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    return v0
.end method

.method public isStackFromBottom()Z
    .locals 1
    .annotation runtime Landroid/view/ViewDebug$ExportedProperty;
    .end annotation

    .prologue
    .line 730
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mStackFromBottom:Z

    return v0
.end method

.method public isTextFilterEnabled()Z
    .locals 1
    .annotation runtime Landroid/view/ViewDebug$ExportedProperty;
    .end annotation

    .prologue
    .line 689
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mTextFilterEnabled:Z

    return v0
.end method

.method keyPressed()V
    .locals 8

    .prologue
    const/4 v7, 0x1

    .line 1428
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    .line 1429
    .local v2, selector:Landroid/graphics/drawable/Drawable;
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    .line 1430
    .local v3, selectorRect:Landroid/graphics/Rect;
    if-eqz v2, :cond_1

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isFocused()Z

    move-result v5

    if-nez v5, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->touchModeDrawsInPressedState()Z

    move-result v5

    if-eqz v5, :cond_1

    :cond_0
    if-eqz v3, :cond_1

    invoke-virtual {v3}, Landroid/graphics/Rect;->isEmpty()Z

    move-result v5

    if-nez v5, :cond_1

    .line 1433
    iget v5, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iget v6, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    sub-int/2addr v5, v6

    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .line 1435
    .local v4, v:Landroid/view/View;
    if-eqz v4, :cond_3

    .line 1436
    invoke-virtual {v4}, Landroid/view/View;->hasFocusable()Z

    move-result v5

    if-eqz v5, :cond_2

    .line 1459
    .end local v4           #v:Landroid/view/View;
    :cond_1
    :goto_0
    return-void

    .line 1437
    .restart local v4       #v:Landroid/view/View;
    :cond_2
    invoke-virtual {v4, v7}, Landroid/view/View;->setPressed(Z)V

    .line 1439
    :cond_3
    invoke-virtual {p0, v7}, Landroid/widget/MyAbsListView;->setPressed(Z)V

    .line 1441
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isLongClickable()Z

    move-result v1

    .line 1442
    .local v1, longClickable:Z
    invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getCurrent()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 1443
    .local v0, d:Landroid/graphics/drawable/Drawable;
    if-eqz v0, :cond_4

    instance-of v5, v0, Landroid/graphics/drawable/TransitionDrawable;

    if-eqz v5, :cond_4

    .line 1444
    if-eqz v1, :cond_6

    .line 1445
    check-cast v0, Landroid/graphics/drawable/TransitionDrawable;

    .end local v0           #d:Landroid/graphics/drawable/Drawable;
    invoke-static {}, Landroid/view/ViewConfiguration;->getLongPressTimeout()I

    move-result v5

    invoke-virtual {v0, v5}, Landroid/graphics/drawable/TransitionDrawable;->startTransition(I)V

    .line 1451
    :cond_4
    :goto_1
    if-eqz v1, :cond_1

    iget-boolean v5, p0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    if-nez v5, :cond_1

    .line 1452
    iget-object v5, p0, Landroid/widget/MyAbsListView;->mPendingCheckForKeyLongPress:Landroid/widget/MyAbsListView$CheckForKeyLongPress;

    if-nez v5, :cond_5

    .line 1453
    new-instance v5, Landroid/widget/MyAbsListView$CheckForKeyLongPress;

    const/4 v6, 0x0

    invoke-direct {v5, p0, v6}, Landroid/widget/MyAbsListView$CheckForKeyLongPress;-><init>(Landroid/widget/MyAbsListView;Landroid/widget/MyAbsListView$1;)V

    iput-object v5, p0, Landroid/widget/MyAbsListView;->mPendingCheckForKeyLongPress:Landroid/widget/MyAbsListView$CheckForKeyLongPress;

    .line 1455
    :cond_5
    iget-object v5, p0, Landroid/widget/MyAbsListView;->mPendingCheckForKeyLongPress:Landroid/widget/MyAbsListView$CheckForKeyLongPress;

    invoke-virtual {v5}, Landroid/widget/MyAbsListView$CheckForKeyLongPress;->rememberWindowAttachCount()V

    .line 1456
    iget-object v5, p0, Landroid/widget/MyAbsListView;->mPendingCheckForKeyLongPress:Landroid/widget/MyAbsListView$CheckForKeyLongPress;

    invoke-static {}, Landroid/view/ViewConfiguration;->getLongPressTimeout()I

    move-result v6

    int-to-long v6, v6

    invoke-virtual {p0, v5, v6, v7}, Landroid/widget/MyAbsListView;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 1448
    .restart local v0       #d:Landroid/graphics/drawable/Drawable;
    :cond_6
    check-cast v0, Landroid/graphics/drawable/TransitionDrawable;

    .end local v0           #d:Landroid/graphics/drawable/Drawable;
    invoke-virtual {v0}, Landroid/graphics/drawable/TransitionDrawable;->resetTransition()V

    goto :goto_1
.end method

.method protected layoutChildren()V
    .locals 0

    .prologue
    .line 1133
    return-void
.end method

.method obtainView(I)Landroid/view/View;
    .locals 4
    .parameter "position"

    .prologue
    .line 1239
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    invoke-virtual {v2, p1}, Landroid/widget/MyAbsListView$RecycleBin;->getScrapView(I)Landroid/view/View;

    move-result-object v1

    .line 1242
    .local v1, scrapView:Landroid/view/View;
    if-eqz v1, :cond_1

    .line 1248
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    invoke-interface {v2, p1, v1, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 1255
    .local v0, child:Landroid/view/View;
    if-eq v0, v1, :cond_0

    .line 1256
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    invoke-virtual {v2, v1}, Landroid/widget/MyAbsListView$RecycleBin;->addScrapView(Landroid/view/View;)V

    .line 1257
    iget v2, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    if-eqz v2, :cond_0

    .line 1258
    iget v2, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    invoke-virtual {v0, v2}, Landroid/view/View;->setDrawingCacheBackgroundColor(I)V

    .line 1276
    :cond_0
    :goto_0
    return-object v0

    .line 1266
    .end local v0           #child:Landroid/view/View;
    :cond_1
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    const/4 v3, 0x0

    invoke-interface {v2, p1, v3, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 1267
    .restart local v0       #child:Landroid/view/View;
    iget v2, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    if-eqz v2, :cond_0

    .line 1268
    iget v2, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    invoke-virtual {v0, v2}, Landroid/view/View;->setDrawingCacheBackgroundColor(I)V

    goto :goto_0
.end method

.method protected onAttachedToWindow()V
    .locals 1

    .prologue
    .line 1515
    invoke-super {p0}, Landroid/widget/MyAdapterView;->onAttachedToWindow()V

    .line 1517
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    .line 1518
    .local v0, treeObserver:Landroid/view/ViewTreeObserver;
    if-eqz v0, :cond_0

    .line 1519
    invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->addOnTouchModeChangeListener(Landroid/view/ViewTreeObserver$OnTouchModeChangeListener;)V

    .line 1521
    :cond_0
    return-void
.end method

.method protected onCreateDrawableState(I)[I
    .locals 7
    .parameter "extraSpace"

    .prologue
    const/4 v6, 0x1

    .line 1477
    iget-boolean v4, p0, Landroid/widget/MyAbsListView;->mIsChildViewEnabled:Z

    if-eqz v4, :cond_0

    .line 1479
    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->onCreateDrawableState(I)[I

    move-result-object v4

    .line 1505
    :goto_0
    return-object v4

    .line 1485
    :cond_0
    sget-object v4, Landroid/widget/MyAbsListView;->ENABLED_STATE_SET:[I

    const/4 v5, 0x0

    aget v1, v4, v5

    .line 1490
    .local v1, enabledState:I
    add-int/lit8 v4, p1, 0x1

    invoke-super {p0, v4}, Landroid/widget/MyAdapterView;->onCreateDrawableState(I)[I

    move-result-object v3

    .line 1491
    .local v3, state:[I
    const/4 v0, -0x1

    .line 1492
    .local v0, enabledPos:I
    array-length v4, v3

    sub-int v2, v4, v6

    .local v2, i:I
    :goto_1
    if-ltz v2, :cond_1

    .line 1493
    aget v4, v3, v2

    if-ne v4, v1, :cond_3

    .line 1494
    move v0, v2

    .line 1500
    :cond_1
    if-ltz v0, :cond_2

    .line 1501
    add-int/lit8 v4, v0, 0x1

    array-length v5, v3

    sub-int/2addr v5, v0

    sub-int/2addr v5, v6

    invoke-static {v3, v4, v3, v0, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    :cond_2
    move-object v4, v3

    .line 1505
    goto :goto_0

    .line 1492
    :cond_3
    add-int/lit8 v2, v2, -0x1

    goto :goto_1
.end method

.method public onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
    .locals 1
    .parameter "outAttrs"

    .prologue
    .line 2953
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isTextFilterEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2957
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Landroid/widget/MyAbsListView;->createTextFilter(Z)V

    .line 2958
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;

    move-result-object v0

    .line 2960
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    .prologue
    .line 1525
    invoke-super {p0}, Landroid/widget/MyAdapterView;->onDetachedFromWindow()V

    .line 1527
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    .line 1528
    .local v0, treeObserver:Landroid/view/ViewTreeObserver;
    if-eqz v0, :cond_0

    .line 1529
    invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnTouchModeChangeListener(Landroid/view/ViewTreeObserver$OnTouchModeChangeListener;)V

    .line 1531
    :cond_0
    return-void
.end method

.method public onFilterComplete(I)V
    .locals 1
    .parameter "count"

    .prologue
    .line 3086
    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    if-gez v0, :cond_0

    if-lez p1, :cond_0

    .line 3087
    const/4 v0, -0x1

    iput v0, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 3088
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->resurrectSelection()Z

    .line 3090
    :cond_0
    return-void
.end method

.method protected onFocusChanged(ZILandroid/graphics/Rect;)V
    .locals 1
    .parameter "gainFocus"
    .parameter "direction"
    .parameter "previouslyFocusedRect"

    .prologue
    .line 954
    invoke-super {p0, p1, p2, p3}, Landroid/widget/MyAdapterView;->onFocusChanged(ZILandroid/graphics/Rect;)V

    .line 955
    if-eqz p1, :cond_0

    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    if-gez v0, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isInTouchMode()Z

    move-result v0

    if-nez v0, :cond_0

    .line 956
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->resurrectSelection()Z

    .line 958
    :cond_0
    return-void
.end method

.method public onGlobalLayout()V
    .locals 1

    .prologue
    .line 3029
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isShown()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 3031
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    .line 3032
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->showPopup()V

    .line 3041
    :cond_0
    :goto_0
    return-void

    .line 3036
    :cond_1
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3037
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->dismissPopup()V

    goto :goto_0
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 8
    .parameter "ev"

    .prologue
    const/4 v7, 0x0

    .line 2126
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    .line 2127
    .local v0, action:I
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v5

    float-to-int v3, v5

    .line 2128
    .local v3, x:I
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    float-to-int v4, v5

    .line 2138
    .local v4, y:I
    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    move v5, v7

    .line 2174
    :goto_1
    return v5

    .line 2140
    :pswitch_0
    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->findMotionRow(I)I

    move-result v1

    .line 2141
    .local v1, motionPosition:I
    iget v5, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    const/4 v6, 0x4

    if-eq v5, v6, :cond_1

    if-ltz v1, :cond_1

    .line 2144
    iget v5, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    sub-int v5, v1, v5

    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    .line 2145
    .local v2, v:Landroid/view/View;
    invoke-virtual {v2}, Landroid/view/View;->getTop()I

    move-result v5

    iput v5, p0, Landroid/widget/MyAbsListView;->mMotionViewOriginalTop:I

    .line 2146
    iput v3, p0, Landroid/widget/MyAbsListView;->mMotionX:I

    .line 2147
    iput v4, p0, Landroid/widget/MyAbsListView;->mMotionY:I

    .line 2148
    iput v1, p0, Landroid/widget/MyAbsListView;->mMotionPosition:I

    .line 2149
    iput v7, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 2150
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->clearScrollingCache()V

    .line 2152
    .end local v2           #v:Landroid/view/View;
    :cond_1
    const/high16 v5, -0x8000

    iput v5, p0, Landroid/widget/MyAbsListView;->mLastY:I

    goto :goto_0

    .line 2157
    .end local v1           #motionPosition:I
    :pswitch_1
    iget v5, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    packed-switch v5, :pswitch_data_1

    goto :goto_0

    .line 2159
    :pswitch_2
    iget v5, p0, Landroid/widget/MyAbsListView;->mMotionY:I

    sub-int v5, v4, v5

    invoke-direct {p0, v5}, Landroid/widget/MyAbsListView;->startScrollIfNeeded(I)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 2160
    const/4 v5, 0x1

    goto :goto_1

    .line 2168
    :pswitch_3
    const/4 v5, -0x1

    iput v5, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 2169
    invoke-virtual {p0, v7}, Landroid/widget/MyAbsListView;->reportScrollStateChange(I)V

    goto :goto_0

    .line 2138
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_3
        :pswitch_1
    .end packed-switch

    .line 2157
    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_2
    .end packed-switch
.end method

.method public onKeyUp(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v4, 0x0

    .line 1718
    sparse-switch p1, :sswitch_data_0

    .line 1730
    :cond_0
    invoke-super {p0, p1, p2}, Landroid/widget/MyAdapterView;->onKeyUp(ILandroid/view/KeyEvent;)Z

    move-result v1

    :goto_0
    return v1

    .line 1721
    :sswitch_0
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isPressed()Z

    move-result v1

    if-eqz v1, :cond_0

    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    if-ltz v1, :cond_0

    iget-object v1, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    if-eqz v1, :cond_0

    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iget-object v2, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    invoke-interface {v2}, Landroid/widget/ListAdapter;->getCount()I

    move-result v2

    if-ge v1, v2, :cond_0

    .line 1723
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iget v2, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    sub-int/2addr v1, v2

    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 1724
    .local v0, view:Landroid/view/View;
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iget-wide v2, p0, Landroid/widget/MyAbsListView;->mSelectedRowId:J

    invoke-virtual {p0, v0, v1, v2, v3}, Landroid/widget/MyAbsListView;->performItemClick(Landroid/view/View;IJ)Z

    .line 1725
    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->setPressed(Z)V

    .line 1726
    if-eqz v0, :cond_1

    invoke-virtual {v0, v4}, Landroid/view/View;->setPressed(Z)V

    .line 1727
    :cond_1
    const/4 v1, 0x1

    goto :goto_0

    .line 1718
    nop

    :sswitch_data_0
    .sparse-switch
        0x17 -> :sswitch_0
        0x42 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onLayout(ZIIII)V
    .locals 1
    .parameter "changed"
    .parameter "l"
    .parameter "t"
    .parameter "r"
    .parameter "b"

    .prologue
    .line 1108
    invoke-super/range {p0 .. p5}, Landroid/widget/MyAdapterView;->onLayout(ZIIII)V

    .line 1109
    const/4 v0, 0x1

    iput-boolean v0, p0, Landroid/widget/MyAbsListView;->mInLayout:Z

    .line 1110
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->layoutChildren()V

    .line 1111
    const/4 v0, 0x0

    iput-boolean v0, p0, Landroid/widget/MyAbsListView;->mInLayout:Z

    .line 1112
    return-void
.end method

.method protected onMeasure(II)V
    .locals 3
    .parameter "widthMeasureSpec"
    .parameter "heightMeasureSpec"

    .prologue
    .line 1096
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    if-nez v1, :cond_0

    .line 1097
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->useDefaultSelector()V

    .line 1099
    :cond_0
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    .line 1100
    .local v0, listPadding:Landroid/graphics/Rect;
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectionLeftPadding:I

    iget v2, p0, Landroid/widget/MyAbsListView;->mPaddingLeft:I

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->left:I

    .line 1101
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectionTopPadding:I

    iget v2, p0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->top:I

    .line 1102
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectionRightPadding:I

    iget v2, p0, Landroid/widget/MyAbsListView;->mPaddingRight:I

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->right:I

    .line 1103
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectionBottomPadding:I

    iget v2, p0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->bottom:I

    .line 1104
    return-void
.end method

.method public onRestoreInstanceState(Landroid/os/Parcelable;)V
    .locals 8
    .parameter "state"

    .prologue
    const-wide/16 v6, 0x0

    const/4 v5, -0x1

    const/4 v4, 0x1

    .line 872
    move-object v0, p1

    check-cast v0, Landroid/widget/MyAbsListView$SavedState;

    move-object v1, v0

    .line 874
    .local v1, ss:Landroid/widget/MyAbsListView$SavedState;
    invoke-virtual {v1}, Landroid/widget/MyAbsListView$SavedState;->getSuperState()Landroid/os/Parcelable;

    move-result-object v2

    invoke-super {p0, v2}, Landroid/widget/MyAdapterView;->onRestoreInstanceState(Landroid/os/Parcelable;)V

    .line 875
    iput-boolean v4, p0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    .line 877
    iget v2, v1, Landroid/widget/MyAbsListView$SavedState;->height:I

    int-to-long v2, v2

    iput-wide v2, p0, Landroid/widget/MyAbsListView;->mSyncHeight:J

    .line 879
    iget-wide v2, v1, Landroid/widget/MyAbsListView$SavedState;->selectedId:J

    cmp-long v2, v2, v6

    if-ltz v2, :cond_1

    .line 880
    iput-boolean v4, p0, Landroid/widget/MyAbsListView;->mNeedSync:Z

    .line 881
    iget-wide v2, v1, Landroid/widget/MyAbsListView$SavedState;->selectedId:J

    iput-wide v2, p0, Landroid/widget/MyAbsListView;->mSyncRowId:J

    .line 882
    iget v2, v1, Landroid/widget/MyAbsListView$SavedState;->position:I

    iput v2, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    .line 883
    iget v2, v1, Landroid/widget/MyAbsListView$SavedState;->viewTop:I

    iput v2, p0, Landroid/widget/MyAbsListView;->mSpecificTop:I

    .line 884
    const/4 v2, 0x0

    iput v2, p0, Landroid/widget/MyAbsListView;->mSyncMode:I

    .line 896
    :cond_0
    :goto_0
    iget-object v2, v1, Landroid/widget/MyAbsListView$SavedState;->filter:Ljava/lang/String;

    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->setFilterText(Ljava/lang/String;)V

    .line 898
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->requestLayout()V

    .line 899
    return-void

    .line 885
    :cond_1
    iget-wide v2, v1, Landroid/widget/MyAbsListView$SavedState;->firstId:J

    cmp-long v2, v2, v6

    if-ltz v2, :cond_0

    .line 886
    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->setSelectedPositionInt(I)V

    .line 888
    invoke-virtual {p0, v5}, Landroid/widget/MyAbsListView;->setNextSelectedPositionInt(I)V

    .line 889
    iput-boolean v4, p0, Landroid/widget/MyAbsListView;->mNeedSync:Z

    .line 890
    iget-wide v2, v1, Landroid/widget/MyAbsListView$SavedState;->firstId:J

    iput-wide v2, p0, Landroid/widget/MyAbsListView;->mSyncRowId:J

    .line 891
    iget v2, v1, Landroid/widget/MyAbsListView$SavedState;->position:I

    iput v2, p0, Landroid/widget/MyAbsListView;->mSyncPosition:I

    .line 892
    iget v2, v1, Landroid/widget/MyAbsListView$SavedState;->viewTop:I

    iput v2, p0, Landroid/widget/MyAbsListView;->mSpecificTop:I

    .line 893
    iput v4, p0, Landroid/widget/MyAbsListView;->mSyncMode:I

    goto :goto_0
.end method

.method public onSaveInstanceState()Landroid/os/Parcelable;
    .locals 13

    .prologue
    const-wide/16 v11, -0x1

    const/4 v10, 0x0

    .line 826
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->dismissPopup()V

    .line 828
    invoke-super {p0}, Landroid/widget/MyAdapterView;->onSaveInstanceState()Landroid/os/Parcelable;

    move-result-object v5

    .line 830
    .local v5, superState:Landroid/os/Parcelable;
    new-instance v4, Landroid/widget/MyAbsListView$SavedState;

    invoke-direct {v4, v5}, Landroid/widget/MyAbsListView$SavedState;-><init>(Landroid/os/Parcelable;)V

    .line 832
    .local v4, ss:Landroid/widget/MyAbsListView$SavedState;
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v8

    if-lez v8, :cond_1

    const/4 v8, 0x1

    move v1, v8

    .line 833
    .local v1, haveChildren:Z
    :goto_0
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getSelectedItemId()J

    move-result-wide v2

    .line 834
    .local v2, selectedId:J
    iput-wide v2, v4, Landroid/widget/MyAbsListView$SavedState;->selectedId:J

    .line 835
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v8

    iput v8, v4, Landroid/widget/MyAbsListView$SavedState;->height:I

    .line 837
    const-wide/16 v8, 0x0

    cmp-long v8, v2, v8

    if-ltz v8, :cond_2

    .line 839
    iget v8, p0, Landroid/widget/MyAbsListView;->mSelectedTop:I

    iput v8, v4, Landroid/widget/MyAbsListView$SavedState;->viewTop:I

    .line 840
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getSelectedItemPosition()I

    move-result v8

    iput v8, v4, Landroid/widget/MyAbsListView$SavedState;->position:I

    .line 841
    iput-wide v11, v4, Landroid/widget/MyAbsListView$SavedState;->firstId:J

    .line 856
    :goto_1
    const/4 v8, 0x0

    iput-object v8, v4, Landroid/widget/MyAbsListView$SavedState;->filter:Ljava/lang/String;

    .line 857
    iget-boolean v8, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    if-eqz v8, :cond_0

    .line 858
    iget-object v6, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    .line 859
    .local v6, textFilter:Landroid/widget/EditText;
    if-eqz v6, :cond_0

    .line 860
    invoke-virtual {v6}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    .line 861
    .local v0, filterText:Landroid/text/Editable;
    if-eqz v0, :cond_0

    .line 862
    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    iput-object v8, v4, Landroid/widget/MyAbsListView$SavedState;->filter:Ljava/lang/String;

    .line 867
    .end local v0           #filterText:Landroid/text/Editable;
    .end local v6           #textFilter:Landroid/widget/EditText;
    :cond_0
    return-object v4

    .end local v1           #haveChildren:Z
    .end local v2           #selectedId:J
    :cond_1
    move v1, v10

    .line 832
    goto :goto_0

    .line 843
    .restart local v1       #haveChildren:Z
    .restart local v2       #selectedId:J
    :cond_2
    if-eqz v1, :cond_3

    .line 845
    invoke-virtual {p0, v10}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    .line 846
    .local v7, v:Landroid/view/View;
    invoke-virtual {v7}, Landroid/view/View;->getTop()I

    move-result v8

    iput v8, v4, Landroid/widget/MyAbsListView$SavedState;->viewTop:I

    .line 847
    iget v8, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    iput v8, v4, Landroid/widget/MyAbsListView$SavedState;->position:I

    .line 848
    iget-object v8, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    iget v9, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    invoke-interface {v8, v9}, Landroid/widget/ListAdapter;->getItemId(I)J

    move-result-wide v8

    iput-wide v8, v4, Landroid/widget/MyAbsListView$SavedState;->firstId:J

    goto :goto_1

    .line 850
    .end local v7           #v:Landroid/view/View;
    :cond_3
    iput v10, v4, Landroid/widget/MyAbsListView$SavedState;->viewTop:I

    .line 851
    iput-wide v11, v4, Landroid/widget/MyAbsListView$SavedState;->firstId:J

    .line 852
    iput v10, v4, Landroid/widget/MyAbsListView$SavedState;->position:I

    goto :goto_1
.end method

.method protected onSizeChanged(IIII)V
    .locals 1
    .parameter "w"
    .parameter "h"
    .parameter "oldw"
    .parameter "oldh"

    .prologue
    .line 1330
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v0

    if-lez v0, :cond_0

    .line 1331
    const/4 v0, 0x1

    iput-boolean v0, p0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    .line 1332
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->rememberSyncState()V

    .line 1337
    :cond_0
    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 5
    .parameter "s"
    .parameter "start"
    .parameter "before"
    .parameter "count"

    .prologue
    .line 3054
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-eqz v3, :cond_1

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isTextFilterEnabled()Z

    move-result v3

    if-eqz v3, :cond_1

    .line 3055
    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result v1

    .line 3056
    .local v1, length:I
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v3}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v2

    .line 3057
    .local v2, showing:Z
    if-nez v2, :cond_2

    if-lez v1, :cond_2

    .line 3059
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->showPopup()V

    .line 3060
    const/4 v3, 0x1

    iput-boolean v3, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    .line 3066
    :cond_0
    :goto_0
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    instance-of v3, v3, Landroid/widget/Filterable;

    if-eqz v3, :cond_1

    .line 3067
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    check-cast v3, Landroid/widget/Filterable;

    invoke-interface {v3}, Landroid/widget/Filterable;->getFilter()Landroid/widget/Filter;

    move-result-object v0

    .line 3069
    .local v0, f:Landroid/widget/Filter;
    if-eqz v0, :cond_3

    .line 3070
    invoke-virtual {v0, p1, p0}, Landroid/widget/Filter;->filter(Ljava/lang/CharSequence;Landroid/widget/Filter$FilterListener;)V

    .line 3077
    .end local v0           #f:Landroid/widget/Filter;
    .end local v1           #length:I
    .end local v2           #showing:Z
    :cond_1
    return-void

    .line 3061
    .restart local v1       #length:I
    .restart local v2       #showing:Z
    :cond_2
    if-eqz v2, :cond_0

    if-nez v1, :cond_0

    .line 3063
    iget-object v3, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v3}, Landroid/widget/PopupWindow;->dismiss()V

    .line 3064
    const/4 v3, 0x0

    iput-boolean v3, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    goto :goto_0

    .line 3072
    .restart local v0       #f:Landroid/widget/Filter;
    :cond_3
    new-instance v3, Ljava/lang/IllegalStateException;

    const-string v4, "You cannot call onTextChanged with a non filterable adapter"

    invoke-direct {v3, v4}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v3
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 21
    .parameter "ev"

    .prologue
    .line 1884
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v4

    .line 1885
    .local v4, action:I
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getX()F

    move-result v18

    move/from16 v0, v18

    float-to-int v0, v0

    move/from16 v16, v0

    .line 1886
    .local v16, x:I
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getY()F

    move-result v18

    move/from16 v0, v18

    float-to-int v0, v0

    move/from16 v17, v0

    .line 1891
    .local v17, y:I
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object/from16 v18, v0

    if-nez v18, :cond_0

    .line 1892
    invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;

    move-result-object v18

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    .line 1894
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    move-object/from16 v1, p1

    invoke-virtual {v0, v1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    .line 1896
    packed-switch v4, :pswitch_data_0

    .line 2113
    .end local v4           #action:I
    :cond_1
    :goto_0
    const/16 v18, 0x1

    :goto_1
    return v18

    .line 1898
    .restart local v4       #action:I
    :pswitch_0
    move-object/from16 v0, p0

    move/from16 v1, v16

    move/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/MyAbsListView;->pointToPosition(II)I

    move-result v11

    .line 1899
    .local v11, motionPosition:I
    move-object/from16 v0, p0

    iget-boolean v0, v0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    move/from16 v18, v0

    if-nez v18, :cond_3

    .line 1900
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    const/16 v19, 0x4

    move/from16 v0, v18

    move/from16 v1, v19

    if-eq v0, v1, :cond_5

    if-ltz v11, :cond_5

    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getAdapter()Landroid/widget/Adapter;

    move-result-object v4

    .end local v4           #action:I
    check-cast v4, Landroid/widget/ListAdapter;

    invoke-interface {v4, v11}, Landroid/widget/ListAdapter;->isEnabled(I)Z

    move-result v18

    if-eqz v18, :cond_5

    .line 1904
    const/16 v18, 0x0

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 1906
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPendingCheckForTap:Ljava/lang/Runnable;

    move-object/from16 v18, v0

    if-nez v18, :cond_2

    .line 1907
    new-instance v18, Landroid/widget/MyAbsListView$CheckForTap;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Landroid/widget/MyAbsListView$CheckForTap;-><init>(Landroid/widget/MyAbsListView;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Landroid/widget/MyAbsListView;->mPendingCheckForTap:Ljava/lang/Runnable;

    .line 1909
    :cond_2
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPendingCheckForTap:Ljava/lang/Runnable;

    move-object/from16 v18, v0

    invoke-static {}, Landroid/view/ViewConfiguration;->getTapTimeout()I

    move-result v19

    move/from16 v0, v19

    int-to-long v0, v0

    move-wide/from16 v19, v0

    move-object/from16 v0, p0

    move-object/from16 v1, v18

    move-wide/from16 v2, v19

    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/MyAbsListView;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 1925
    :cond_3
    :goto_2
    if-ltz v11, :cond_4

    .line 1927
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v18, v0

    sub-int v18, v11, v18

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v14

    .line 1928
    .local v14, v:Landroid/view/View;
    invoke-virtual {v14}, Landroid/view/View;->getTop()I

    move-result v18

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionViewOriginalTop:I

    .line 1929
    move/from16 v0, v16

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionX:I

    .line 1930
    move/from16 v0, v17

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionY:I

    .line 1931
    move v0, v11

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionPosition:I

    .line 1933
    .end local v14           #v:Landroid/view/View;
    :cond_4
    const/high16 v18, -0x8000

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mLastY:I

    goto/16 :goto_0

    .line 1911
    :cond_5
    invoke-virtual/range {p1 .. p1}, Landroid/view/MotionEvent;->getEdgeFlags()I

    move-result v18

    if-eqz v18, :cond_6

    if-gez v11, :cond_6

    .line 1915
    const/16 v18, 0x0

    goto/16 :goto_1

    .line 1918
    :cond_6
    invoke-direct/range {p0 .. p0}, Landroid/widget/MyAbsListView;->createScrollingCache()V

    .line 1919
    const/16 v18, 0x3

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 1920
    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->findMotionRow(I)I

    move-result v11

    .line 1921
    const/16 v18, 0x1

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->reportScrollStateChange(I)V

    goto :goto_2

    .line 1938
    .end local v11           #motionPosition:I
    .restart local v4       #action:I
    :pswitch_1
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionY:I

    move/from16 v18, v0

    sub-int v7, v17, v18

    .line 1939
    .local v7, deltaY:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    packed-switch v18, :pswitch_data_1

    goto/16 :goto_0

    .line 1945
    :pswitch_2
    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Landroid/widget/MyAbsListView;->startScrollIfNeeded(I)Z

    goto/16 :goto_0

    .line 1955
    :pswitch_3
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mLastY:I

    move/from16 v18, v0

    move/from16 v0, v17

    move/from16 v1, v18

    if-eq v0, v1, :cond_1

    .line 1956
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionCorrection:I

    move/from16 v18, v0

    sub-int v7, v7, v18

    .line 1957
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mLastY:I

    move/from16 v18, v0

    const/high16 v19, -0x8000

    move/from16 v0, v18

    move/from16 v1, v19

    if-eq v0, v1, :cond_8

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mLastY:I

    move/from16 v18, v0

    sub-int v18, v17, v18

    move/from16 v9, v18

    .line 1958
    .local v9, incrementalDeltaY:I
    :goto_3
    move-object/from16 v0, p0

    move v1, v7

    move v2, v9

    invoke-virtual {v0, v1, v2}, Landroid/widget/MyAbsListView;->trackMotionScroll(II)V

    .line 1961
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionPosition:I

    move/from16 v18, v0

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v19, v0

    sub-int v18, v18, v19

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v12

    .line 1962
    .local v12, motionView:Landroid/view/View;
    if-eqz v12, :cond_7

    .line 1965
    invoke-virtual {v12}, Landroid/view/View;->getTop()I

    move-result v18

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionViewNewTop:I

    move/from16 v19, v0

    move/from16 v0, v18

    move/from16 v1, v19

    if-eq v0, v1, :cond_7

    .line 1968
    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->findMotionRow(I)I

    move-result v11

    .line 1970
    .restart local v11       #motionPosition:I
    const/16 v18, 0x0

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionCorrection:I

    .line 1971
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v18, v0

    sub-int v18, v11, v18

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v12

    .line 1972
    invoke-virtual {v12}, Landroid/view/View;->getTop()I

    move-result v18

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionViewOriginalTop:I

    .line 1973
    move/from16 v0, v17

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionY:I

    .line 1974
    move v0, v11

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionPosition:I

    .line 1977
    .end local v11           #motionPosition:I
    :cond_7
    move/from16 v0, v17

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mLastY:I

    goto/16 :goto_0

    .end local v9           #incrementalDeltaY:I
    .end local v12           #motionView:Landroid/view/View;
    :cond_8
    move v9, v7

    .line 1957
    goto :goto_3

    .line 1986
    .end local v7           #deltaY:I
    :pswitch_4
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    packed-switch v18, :pswitch_data_2

    .line 2067
    :goto_4
    const/16 v18, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->setPressed(Z)V

    .line 2070
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 2072
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHandler()Landroid/os/Handler;

    move-result-object v8

    .line 2073
    .local v8, handler:Landroid/os/Handler;
    if-eqz v8, :cond_9

    .line 2074
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

    move-object/from16 v18, v0

    move-object v0, v8

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 2077
    :cond_9
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object/from16 v18, v0

    if-eqz v18, :cond_1

    .line 2078
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Landroid/view/VelocityTracker;->recycle()V

    .line 2079
    const/16 v18, 0x0

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    goto/16 :goto_0

    .line 1990
    .end local v8           #handler:Landroid/os/Handler;
    :pswitch_5
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionPosition:I

    move v11, v0

    .line 1991
    .restart local v11       #motionPosition:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v18, v0

    sub-int v18, v11, v18

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    .line 1992
    .local v5, child:Landroid/view/View;
    if-eqz v5, :cond_12

    invoke-virtual {v5}, Landroid/view/View;->hasFocusable()Z

    move-result v18

    if-nez v18, :cond_12

    .line 1993
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    if-eqz v18, :cond_a

    .line 1994
    const/16 v18, 0x0

    move-object v0, v5

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/view/View;->setPressed(Z)V

    .line 1997
    :cond_a
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPerformClick:Landroid/widget/MyAbsListView$PerformClick;

    move-object/from16 v18, v0

    if-nez v18, :cond_b

    .line 1998
    new-instance v18, Landroid/widget/MyAbsListView$PerformClick;

    const/16 v19, 0x0

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    move-object/from16 v2, v19

    invoke-direct {v0, v1, v2}, Landroid/widget/MyAbsListView$PerformClick;-><init>(Landroid/widget/MyAbsListView;Landroid/widget/MyAbsListView$1;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Landroid/widget/MyAbsListView;->mPerformClick:Landroid/widget/MyAbsListView$PerformClick;

    .line 2001
    :cond_b
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPerformClick:Landroid/widget/MyAbsListView$PerformClick;

    move-object v13, v0

    .line 2002
    .local v13, performClick:Landroid/widget/MyAbsListView$PerformClick;
    iput-object v5, v13, Landroid/widget/MyAbsListView$PerformClick;->mChild:Landroid/view/View;

    .line 2003
    iput v11, v13, Landroid/widget/MyAbsListView$PerformClick;->mClickMotionPosition:I

    .line 2004
    invoke-virtual {v13}, Landroid/widget/MyAbsListView$PerformClick;->rememberWindowAttachCount()V

    .line 2006
    move v0, v11

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 2008
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    if-eqz v18, :cond_c

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    const/16 v19, 0x1

    move/from16 v0, v18

    move/from16 v1, v19

    if-ne v0, v1, :cond_11

    .line 2009
    :cond_c
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHandler()Landroid/os/Handler;

    move-result-object v8

    .line 2010
    .restart local v8       #handler:Landroid/os/Handler;
    if-eqz v8, :cond_d

    .line 2011
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTouchMode:I

    move/from16 v18, v0

    if-nez v18, :cond_10

    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPendingCheckForTap:Ljava/lang/Runnable;

    move-object/from16 v18, v0

    :goto_5
    move-object v0, v8

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 2014
    :cond_d
    const/16 v18, 0x0

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2015
    const/16 v18, 0x1

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 2016
    move-object/from16 v0, p0

    iget-boolean v0, v0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    move/from16 v18, v0

    if-nez v18, :cond_f

    .line 2017
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionPosition:I

    move/from16 v18, v0

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->setSelectedPositionInt(I)V

    .line 2018
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->layoutChildren()V

    .line 2019
    const/16 v18, 0x1

    move-object v0, v5

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/view/View;->setPressed(Z)V

    .line 2020
    move-object/from16 v0, p0

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->positionSelector(Landroid/view/View;)V

    .line 2021
    const/16 v18, 0x1

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->setPressed(Z)V

    .line 2022
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    move-object/from16 v18, v0

    if-eqz v18, :cond_e

    .line 2023
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/drawable/Drawable;->getCurrent()Landroid/graphics/drawable/Drawable;

    move-result-object v6

    .line 2024
    .local v6, d:Landroid/graphics/drawable/Drawable;
    if-eqz v6, :cond_e

    move-object v0, v6

    instance-of v0, v0, Landroid/graphics/drawable/TransitionDrawable;

    move/from16 v18, v0

    if-eqz v18, :cond_e

    .line 2025
    check-cast v6, Landroid/graphics/drawable/TransitionDrawable;

    .end local v6           #d:Landroid/graphics/drawable/Drawable;
    invoke-virtual {v6}, Landroid/graphics/drawable/TransitionDrawable;->resetTransition()V

    .line 2028
    :cond_e
    new-instance v18, Landroid/widget/MyAbsListView$1;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    move-object v2, v5

    move-object v3, v13

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/MyAbsListView$1;-><init>(Landroid/widget/MyAbsListView;Landroid/view/View;Landroid/widget/MyAbsListView$PerformClick;)V

    invoke-static {}, Landroid/view/ViewConfiguration;->getPressedStateDuration()I

    move-result v19

    move/from16 v0, v19

    int-to-long v0, v0

    move-wide/from16 v19, v0

    move-object/from16 v0, p0

    move-object/from16 v1, v18

    move-wide/from16 v2, v19

    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/MyAbsListView;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 2039
    :cond_f
    const/16 v18, 0x1

    goto/16 :goto_1

    .line 2011
    :cond_10
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

    move-object/from16 v18, v0

    goto/16 :goto_5

    .line 2041
    .end local v8           #handler:Landroid/os/Handler;
    :cond_11
    move-object/from16 v0, p0

    iget-boolean v0, v0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    move/from16 v18, v0

    if-nez v18, :cond_12

    .line 2042
    move-object/from16 v0, p0

    move-object v1, v13

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->post(Ljava/lang/Runnable;)Z

    .line 2046
    .end local v13           #performClick:Landroid/widget/MyAbsListView$PerformClick;
    :cond_12
    const/16 v18, -0x1

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    goto/16 :goto_4

    .line 2049
    .end local v5           #child:Landroid/view/View;
    .end local v11           #motionPosition:I
    :pswitch_6
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object v15, v0

    .line 2050
    .local v15, velocityTracker:Landroid/view/VelocityTracker;
    const/16 v18, 0x3e8

    move-object v0, v15

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/view/VelocityTracker;->computeCurrentVelocity(I)V

    .line 2051
    invoke-virtual {v15}, Landroid/view/VelocityTracker;->getYVelocity()F

    move-result v18

    move/from16 v0, v18

    float-to-int v0, v0

    move v10, v0

    .line 2053
    .local v10, initialVelocity:I
    invoke-static {v10}, Ljava/lang/Math;->abs(I)I

    move-result v18

    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mContext:Landroid/content/Context;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Landroid/view/ViewConfiguration;->getScaledMinimumFlingVelocity()I

    move-result v19

    move/from16 v0, v18

    move/from16 v1, v19

    if-le v0, v1, :cond_14

    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v18

    if-lez v18, :cond_14

    .line 2056
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    move-object/from16 v18, v0

    if-nez v18, :cond_13

    .line 2057
    new-instance v18, Landroid/widget/MyAbsListView$FlingRunnable;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Landroid/widget/MyAbsListView$FlingRunnable;-><init>(Landroid/widget/MyAbsListView;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    .line 2059
    :cond_13
    const/16 v18, 0x2

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->reportScrollStateChange(I)V

    .line 2060
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    move-object/from16 v18, v0

    move v0, v10

    neg-int v0, v0

    move/from16 v19, v0

    invoke-virtual/range {v18 .. v19}, Landroid/widget/MyAbsListView$FlingRunnable;->start(I)V

    goto/16 :goto_4

    .line 2062
    :cond_14
    const/16 v18, -0x1

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 2063
    const/16 v18, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->reportScrollStateChange(I)V

    goto/16 :goto_4

    .line 2092
    .end local v10           #initialVelocity:I
    .end local v15           #velocityTracker:Landroid/view/VelocityTracker;
    :pswitch_7
    const/16 v18, -0x1

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 2093
    const/16 v18, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->setPressed(Z)V

    .line 2094
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionPosition:I

    move/from16 v18, v0

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v19, v0

    sub-int v18, v18, v19

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v12

    .line 2095
    .restart local v12       #motionView:Landroid/view/View;
    if-eqz v12, :cond_15

    .line 2096
    const/16 v18, 0x0

    move-object v0, v12

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/view/View;->setPressed(Z)V

    .line 2098
    :cond_15
    invoke-direct/range {p0 .. p0}, Landroid/widget/MyAbsListView;->clearScrollingCache()V

    .line 2100
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHandler()Landroid/os/Handler;

    move-result-object v8

    .line 2101
    .restart local v8       #handler:Landroid/os/Handler;
    if-eqz v8, :cond_16

    .line 2102
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mPendingCheckForLongPress:Landroid/widget/MyAbsListView$CheckForLongPress;

    move-object/from16 v18, v0

    move-object v0, v8

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 2105
    :cond_16
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object/from16 v18, v0

    if-eqz v18, :cond_1

    .line 2106
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Landroid/view/VelocityTracker;->recycle()V

    .line 2107
    const/16 v18, 0x0

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Landroid/widget/MyAbsListView;->mVelocityTracker:Landroid/view/VelocityTracker;

    goto/16 :goto_0

    .line 1896
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_4
        :pswitch_1
        :pswitch_7
    .end packed-switch

    .line 1939
    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_2
        :pswitch_2
        :pswitch_2
        :pswitch_3
    .end packed-switch

    .line 1986
    :pswitch_data_2
    .packed-switch 0x0
        :pswitch_5
        :pswitch_5
        :pswitch_5
        :pswitch_6
    .end packed-switch
.end method

.method public onTouchModeChanged(Z)V
    .locals 1
    .parameter "isInTouchMode"

    .prologue
    .line 1860
    if-eqz p1, :cond_0

    .line 1862
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->hideSelector()V

    .line 1866
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v0

    if-lez v0, :cond_0

    .line 1869
    const/4 v0, 0x0

    iput v0, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 1870
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->layoutChildren()V

    .line 1873
    :cond_0
    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 5
    .parameter "hasWindowFocus"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 1535
    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->onWindowFocusChanged(Z)V

    .line 1537
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isInTouchMode()Z

    move-result v1

    if-eqz v1, :cond_1

    move v0, v3

    .line 1539
    .local v0, touchMode:I
    :goto_0
    if-nez p1, :cond_2

    .line 1540
    invoke-virtual {p0, v3}, Landroid/widget/MyAbsListView;->setChildrenDrawingCacheEnabled(Z)V

    .line 1541
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 1543
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->dismissPopup()V

    .line 1545
    if-ne v0, v4, :cond_0

    .line 1547
    iget v1, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    iput v1, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 1571
    :cond_0
    :goto_1
    iput v0, p0, Landroid/widget/MyAbsListView;->mLastTouchMode:I

    .line 1572
    return-void

    .end local v0           #touchMode:I
    :cond_1
    move v0, v4

    .line 1537
    goto :goto_0

    .line 1550
    .restart local v0       #touchMode:I
    :cond_2
    iget-boolean v1, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    if-eqz v1, :cond_3

    .line 1552
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->showPopup()V

    .line 1556
    :cond_3
    iget v1, p0, Landroid/widget/MyAbsListView;->mLastTouchMode:I

    if-eq v0, v1, :cond_0

    iget v1, p0, Landroid/widget/MyAbsListView;->mLastTouchMode:I

    const/4 v2, -0x1

    if-eq v1, v2, :cond_0

    .line 1558
    if-ne v0, v4, :cond_4

    .line 1560
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->resurrectSelection()Z

    goto :goto_1

    .line 1564
    :cond_4
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->hideSelector()V

    .line 1565
    iput v3, p0, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 1566
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->layoutChildren()V

    goto :goto_1
.end method

.method public pointToPosition(II)I
    .locals 5
    .parameter "x"
    .parameter "y"

    .prologue
    .line 1748
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mTouchFrame:Landroid/graphics/Rect;

    .line 1749
    .local v2, frame:Landroid/graphics/Rect;
    if-nez v2, :cond_0

    .line 1750
    new-instance v4, Landroid/graphics/Rect;

    invoke-direct {v4}, Landroid/graphics/Rect;-><init>()V

    iput-object v4, p0, Landroid/widget/MyAbsListView;->mTouchFrame:Landroid/graphics/Rect;

    .line 1751
    iget-object v2, p0, Landroid/widget/MyAbsListView;->mTouchFrame:Landroid/graphics/Rect;

    .line 1754
    :cond_0
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v1

    .line 1755
    .local v1, count:I
    const/4 v4, 0x1

    sub-int v3, v1, v4

    .local v3, i:I
    :goto_0
    if-ltz v3, :cond_2

    .line 1756
    invoke-virtual {p0, v3}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 1757
    .local v0, child:Landroid/view/View;
    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v4

    if-nez v4, :cond_1

    .line 1758
    invoke-virtual {v0, v2}, Landroid/view/View;->getHitRect(Landroid/graphics/Rect;)V

    .line 1759
    invoke-virtual {v2, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 1760
    iget v4, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    add-int/2addr v4, v3

    .line 1764
    .end local v0           #child:Landroid/view/View;
    :goto_1
    return v4

    .line 1755
    .restart local v0       #child:Landroid/view/View;
    :cond_1
    add-int/lit8 v3, v3, -0x1

    goto :goto_0

    .line 1764
    .end local v0           #child:Landroid/view/View;
    :cond_2
    const/4 v4, -0x1

    goto :goto_1
.end method

.method public pointToRowId(II)J
    .locals 3
    .parameter "x"
    .parameter "y"

    .prologue
    .line 1777
    invoke-virtual {p0, p1, p2}, Landroid/widget/MyAbsListView;->pointToPosition(II)I

    move-result v0

    .line 1778
    .local v0, position:I
    if-ltz v0, :cond_0

    .line 1779
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    invoke-interface {v1, v0}, Landroid/widget/ListAdapter;->getItemId(I)J

    move-result-wide v1

    .line 1781
    :goto_0
    return-wide v1

    :cond_0
    const-wide/high16 v1, -0x8000

    goto :goto_0
.end method

.method positionSelector(Landroid/view/View;)V
    .locals 6
    .parameter "sel"

    .prologue
    .line 1280
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    .line 1281
    .local v1, selectorRect:Landroid/graphics/Rect;
    invoke-virtual {p1}, Landroid/view/View;->getLeft()I

    move-result v2

    invoke-virtual {p1}, Landroid/view/View;->getTop()I

    move-result v3

    invoke-virtual {p1}, Landroid/view/View;->getRight()I

    move-result v4

    invoke-virtual {p1}, Landroid/view/View;->getBottom()I

    move-result v5

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/graphics/Rect;->set(IIII)V

    .line 1282
    iget v2, v1, Landroid/graphics/Rect;->left:I

    iget v3, v1, Landroid/graphics/Rect;->top:I

    iget v4, v1, Landroid/graphics/Rect;->right:I

    iget v5, v1, Landroid/graphics/Rect;->bottom:I

    invoke-direct {p0, v2, v3, v4, v5}, Landroid/widget/MyAbsListView;->positionSelector(IIII)V

    .line 1285
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mIsChildViewEnabled:Z

    .line 1286
    .local v0, isChildViewEnabled:Z
    invoke-virtual {p1}, Landroid/view/View;->isEnabled()Z

    move-result v2

    if-eq v2, v0, :cond_0

    .line 1287
    if-nez v0, :cond_1

    const/4 v2, 0x1

    :goto_0
    iput-boolean v2, p0, Landroid/widget/MyAbsListView;->mIsChildViewEnabled:Z

    .line 1288
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->refreshDrawableState()V

    .line 1290
    :cond_0
    return-void

    .line 1287
    :cond_1
    const/4 v2, 0x0

    goto :goto_0
.end method

.method public reclaimViews(Ljava/util/List;)V
    .locals 7
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Landroid/view/View;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 3164
    .local p1, views:Ljava/util/List;,"Ljava/util/List<Landroid/view/View;>;"
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v1

    .line 3165
    .local v1, childCount:I
    iget-object v5, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    #getter for: Landroid/widget/MyAbsListView$RecycleBin;->mRecyclerListener:Landroid/widget/MyAbsListView$RecyclerListener;
    invoke-static {v5}, Landroid/widget/MyAbsListView$RecycleBin;->access$1400(Landroid/widget/MyAbsListView$RecycleBin;)Landroid/widget/MyAbsListView$RecyclerListener;

    move-result-object v3

    .line 3168
    .local v3, listener:Landroid/widget/MyAbsListView$RecyclerListener;
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-ge v2, v1, :cond_1

    .line 3169
    invoke-virtual {p0, v2}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 3170
    .local v0, child:Landroid/view/View;
    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    check-cast v4, Landroid/widget/MyAbsListView$LayoutParams;

    .line 3172
    .local v4, lp:Landroid/widget/MyAbsListView$LayoutParams;
    if-eqz v4, :cond_0

    iget-object v5, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    iget v6, v4, Landroid/widget/MyAbsListView$LayoutParams;->viewType:I

    invoke-virtual {v5, v6}, Landroid/widget/MyAbsListView$RecycleBin;->shouldRecycleViewType(I)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 3173
    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 3174
    if-eqz v3, :cond_0

    .line 3176
    invoke-interface {v3, v0}, Landroid/widget/MyAbsListView$RecyclerListener;->onMovedToScrapHeap(Landroid/view/View;)V

    .line 3168
    :cond_0
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 3180
    .end local v0           #child:Landroid/view/View;
    .end local v4           #lp:Landroid/widget/MyAbsListView$LayoutParams;
    :cond_1
    iget-object v5, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    invoke-virtual {v5, p1}, Landroid/widget/MyAbsListView$RecycleBin;->reclaimScrapViews(Ljava/util/List;)V

    .line 3181
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->removeAllViewsInLayout()V

    .line 3182
    return-void
.end method

.method reconcileSelectedPosition()I
    .locals 3

    .prologue
    .line 2543
    iget v0, p0, Landroid/widget/MyAbsListView;->mSelectedPosition:I

    .line 2544
    .local v0, position:I
    if-gez v0, :cond_0

    .line 2545
    iget v0, p0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 2547
    :cond_0
    const/4 v1, 0x0

    invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I

    move-result v0

    .line 2548
    iget v1, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    .line 2549
    return v0
.end method

.method reportScrollStateChange(I)V
    .locals 1
    .parameter "newState"

    .prologue
    .line 2207
    iget v0, p0, Landroid/widget/MyAbsListView;->mLastScrollState:I

    if-eq p1, v0, :cond_0

    .line 2208
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnScrollListener:Landroid/widget/MyAbsListView$OnScrollListener;

    if-eqz v0, :cond_0

    .line 2209
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnScrollListener:Landroid/widget/MyAbsListView$OnScrollListener;

    invoke-interface {v0, p0, p1}, Landroid/widget/MyAbsListView$OnScrollListener;->onScrollStateChanged(Landroid/widget/MyAbsListView;I)V

    .line 2210
    iput p1, p0, Landroid/widget/MyAbsListView;->mLastScrollState:I

    .line 2213
    :cond_0
    return-void
.end method

.method public requestLayout()V
    .locals 1

    .prologue
    .line 962
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mBlockLayoutRequests:Z

    if-nez v0, :cond_0

    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mInLayout:Z

    if-nez v0, :cond_0

    .line 963
    invoke-super {p0}, Landroid/widget/MyAdapterView;->requestLayout()V

    .line 965
    :cond_0
    return-void
.end method

.method requestLayoutIfNecessary()V
    .locals 1

    .prologue
    .line 748
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v0

    if-lez v0, :cond_0

    .line 749
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->resetList()V

    .line 750
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->requestLayout()V

    .line 751
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 753
    :cond_0
    return-void
.end method

.method resetList()V
    .locals 4

    .prologue
    const/4 v3, -0x1

    const/4 v2, 0x0

    .line 971
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->removeAllViewsInLayout()V

    .line 972
    iput v2, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    .line 973
    iput-boolean v2, p0, Landroid/widget/MyAbsListView;->mDataChanged:Z

    .line 974
    iput-boolean v2, p0, Landroid/widget/MyAbsListView;->mNeedSync:Z

    .line 975
    iput v3, p0, Landroid/widget/MyAbsListView;->mOldSelectedPosition:I

    .line 976
    const-wide/high16 v0, -0x8000

    iput-wide v0, p0, Landroid/widget/MyAbsListView;->mOldSelectedRowId:J

    .line 977
    invoke-virtual {p0, v3}, Landroid/widget/MyAbsListView;->setSelectedPositionInt(I)V

    .line 978
    invoke-virtual {p0, v3}, Landroid/widget/MyAbsListView;->setNextSelectedPositionInt(I)V

    .line 979
    iput v2, p0, Landroid/widget/MyAbsListView;->mSelectedTop:I

    .line 980
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelectorRect:Landroid/graphics/Rect;

    invoke-virtual {v0}, Landroid/graphics/Rect;->setEmpty()V

    .line 981
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 982
    return-void
.end method

.method resetListAndClearViews()V
    .locals 2

    .prologue
    .line 989
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->rememberSyncState()V

    .line 990
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->removeAllViewsInLayout()V

    .line 991
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    invoke-virtual {v0}, Landroid/widget/MyAbsListView$RecycleBin;->clear()V

    .line 992
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    iget-object v1, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    invoke-interface {v1}, Landroid/widget/ListAdapter;->getViewTypeCount()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView$RecycleBin;->setViewTypeCount(I)V

    .line 993
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->requestLayout()V

    .line 994
    return-void
.end method

.method resurrectSelection()Z
    .locals 20

    .prologue
    .line 2583
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v4

    .line 2585
    .local v4, childCount:I
    if-gtz v4, :cond_0

    .line 2586
    const/16 v18, 0x0

    .line 2677
    :goto_0
    return v18

    .line 2589
    :cond_0
    const/4 v14, 0x0

    .line 2591
    .local v14, selectedTop:I
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    iget v0, v0, Landroid/graphics/Rect;->top:I

    move v6, v0

    .line 2592
    .local v6, childrenTop:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mBottom:I

    move/from16 v18, v0

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mTop:I

    move/from16 v19, v0

    sub-int v18, v18, v19

    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget v0, v0, Landroid/graphics/Rect;->bottom:I

    move/from16 v19, v0

    sub-int v5, v18, v19

    .line 2593
    .local v5, childrenBottom:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move v8, v0

    .line 2594
    .local v8, firstPosition:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    move v15, v0

    .line 2595
    .local v15, toPosition:I
    const/4 v7, 0x1

    .line 2597
    .local v7, down:Z
    if-lt v15, v8, :cond_3

    add-int v18, v8, v4

    move v0, v15

    move/from16 v1, v18

    if-ge v0, v1, :cond_3

    .line 2598
    move v13, v15

    .line 2600
    .local v13, selectedPos:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v18, v0

    sub-int v18, v13, v18

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v11

    .line 2601
    .local v11, selected:Landroid/view/View;
    invoke-virtual {v11}, Landroid/view/View;->getTop()I

    move-result v14

    .line 2602
    invoke-virtual {v11}, Landroid/view/View;->getBottom()I

    move-result v12

    .line 2605
    .local v12, selectedBottom:I
    if-ge v14, v6, :cond_2

    .line 2606
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getVerticalFadingEdgeLength()I

    move-result v18

    add-int v14, v6, v18

    .line 2662
    .end local v11           #selected:Landroid/view/View;
    .end local v12           #selectedBottom:I
    :cond_1
    :goto_1
    const/16 v18, -0x1

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mResurrectToPosition:I

    .line 2663
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    move-object/from16 v18, v0

    move-object/from16 v0, p0

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 2664
    const/16 v18, -0x1

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mTouchMode:I

    .line 2665
    invoke-direct/range {p0 .. p0}, Landroid/widget/MyAbsListView;->clearScrollingCache()V

    .line 2666
    move v0, v14

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mSpecificTop:I

    .line 2667
    move-object/from16 v0, p0

    move v1, v13

    move v2, v7

    invoke-virtual {v0, v1, v2}, Landroid/widget/MyAbsListView;->lookForSelectablePosition(IZ)I

    move-result v13

    .line 2668
    if-lt v13, v8, :cond_b

    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getLastVisiblePosition()I

    move-result v18

    move v0, v13

    move/from16 v1, v18

    if-gt v0, v1, :cond_b

    .line 2669
    const/16 v18, 0x4

    move/from16 v0, v18

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mLayoutMode:I

    .line 2670
    move-object/from16 v0, p0

    move v1, v13

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->setSelectionInt(I)V

    .line 2671
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->invokeOnItemScrollListener()V

    .line 2675
    :goto_2
    const/16 v18, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->reportScrollStateChange(I)V

    .line 2677
    if-ltz v13, :cond_c

    const/16 v18, 0x1

    goto/16 :goto_0

    .line 2607
    .restart local v11       #selected:Landroid/view/View;
    .restart local v12       #selectedBottom:I
    :cond_2
    if-le v12, v5, :cond_1

    .line 2608
    invoke-virtual {v11}, Landroid/view/View;->getMeasuredHeight()I

    move-result v18

    sub-int v18, v5, v18

    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getVerticalFadingEdgeLength()I

    move-result v19

    sub-int v14, v18, v19

    goto :goto_1

    .line 2612
    .end local v11           #selected:Landroid/view/View;
    .end local v12           #selectedBottom:I
    .end local v13           #selectedPos:I
    :cond_3
    if-ge v15, v8, :cond_7

    .line 2614
    move v13, v8

    .line 2615
    .restart local v13       #selectedPos:I
    const/4 v9, 0x0

    .local v9, i:I
    :goto_3
    if-ge v9, v4, :cond_1

    .line 2616
    move-object/from16 v0, p0

    move v1, v9

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v17

    .line 2617
    .local v17, v:Landroid/view/View;
    invoke-virtual/range {v17 .. v17}, Landroid/view/View;->getTop()I

    move-result v16

    .line 2619
    .local v16, top:I
    if-nez v9, :cond_5

    .line 2621
    move/from16 v14, v16

    .line 2623
    if-gtz v8, :cond_4

    move/from16 v0, v16

    move v1, v6

    if-ge v0, v1, :cond_5

    .line 2626
    :cond_4
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getVerticalFadingEdgeLength()I

    move-result v18

    add-int v6, v6, v18

    .line 2629
    :cond_5
    move/from16 v0, v16

    move v1, v6

    if-lt v0, v1, :cond_6

    .line 2631
    add-int v13, v8, v9

    .line 2632
    move/from16 v14, v16

    .line 2633
    goto/16 :goto_1

    .line 2615
    :cond_6
    add-int/lit8 v9, v9, 0x1

    goto :goto_3

    .line 2637
    .end local v9           #i:I
    .end local v13           #selectedPos:I
    .end local v16           #top:I
    .end local v17           #v:Landroid/view/View;
    :cond_7
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mItemCount:I

    move v10, v0

    .line 2638
    .local v10, itemCount:I
    const/4 v7, 0x0

    .line 2639
    add-int v18, v8, v4

    const/16 v19, 0x1

    sub-int v13, v18, v19

    .line 2641
    .restart local v13       #selectedPos:I
    const/16 v18, 0x1

    sub-int v9, v4, v18

    .restart local v9       #i:I
    :goto_4
    if-ltz v9, :cond_1

    .line 2642
    move-object/from16 v0, p0

    move v1, v9

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v17

    .line 2643
    .restart local v17       #v:Landroid/view/View;
    invoke-virtual/range {v17 .. v17}, Landroid/view/View;->getTop()I

    move-result v16

    .line 2644
    .restart local v16       #top:I
    invoke-virtual/range {v17 .. v17}, Landroid/view/View;->getBottom()I

    move-result v3

    .line 2646
    .local v3, bottom:I
    const/16 v18, 0x1

    sub-int v18, v4, v18

    move v0, v9

    move/from16 v1, v18

    if-ne v0, v1, :cond_9

    .line 2647
    move/from16 v14, v16

    .line 2648
    add-int v18, v8, v4

    move/from16 v0, v18

    move v1, v10

    if-lt v0, v1, :cond_8

    if-le v3, v5, :cond_9

    .line 2649
    :cond_8
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getVerticalFadingEdgeLength()I

    move-result v18

    sub-int v5, v5, v18

    .line 2653
    :cond_9
    if-gt v3, v5, :cond_a

    .line 2654
    add-int v13, v8, v9

    .line 2655
    move/from16 v14, v16

    .line 2656
    goto/16 :goto_1

    .line 2641
    :cond_a
    add-int/lit8 v9, v9, -0x1

    goto :goto_4

    .line 2673
    .end local v3           #bottom:I
    .end local v9           #i:I
    .end local v10           #itemCount:I
    .end local v16           #top:I
    .end local v17           #v:Landroid/view/View;
    :cond_b
    const/4 v13, -0x1

    goto/16 :goto_2

    .line 2677
    :cond_c
    const/16 v18, 0x0

    goto/16 :goto_0
.end method

.method sendToTextFilter(IILandroid/view/KeyEvent;)Z
    .locals 7
    .parameter "keyCode"
    .parameter "count"
    .parameter "event"

    .prologue
    const/4 v6, 0x0

    .line 2893
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->acceptFilter()Z

    move-result v4

    if-nez v4, :cond_0

    move v4, v6

    .line 2945
    :goto_0
    return v4

    .line 2897
    :cond_0
    const/4 v2, 0x0

    .line 2898
    .local v2, handled:Z
    const/4 v3, 0x1

    .line 2899
    .local v3, okToSend:Z
    sparse-switch p1, :sswitch_data_0

    .line 2922
    :goto_1
    if-eqz v3, :cond_2

    .line 2923
    const/4 v4, 0x1

    invoke-direct {p0, v4}, Landroid/widget/MyAbsListView;->createTextFilter(Z)V

    .line 2925
    move-object v1, p3

    .line 2926
    .local v1, forwardEvent:Landroid/view/KeyEvent;
    invoke-virtual {v1}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v4

    if-lez v4, :cond_1

    .line 2927
    new-instance v1, Landroid/view/KeyEvent;

    .end local v1           #forwardEvent:Landroid/view/KeyEvent;
    invoke-virtual {p3}, Landroid/view/KeyEvent;->getEventTime()J

    move-result-wide v4

    invoke-direct {v1, p3, v4, v5, v6}, Landroid/view/KeyEvent;-><init>(Landroid/view/KeyEvent;JI)V

    .line 2930
    .restart local v1       #forwardEvent:Landroid/view/KeyEvent;
    :cond_1
    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    .line 2931
    .local v0, action:I
    packed-switch v0, :pswitch_data_0

    .end local v0           #action:I
    .end local v1           #forwardEvent:Landroid/view/KeyEvent;
    :cond_2
    :goto_2
    move v4, v2

    .line 2945
    goto :goto_0

    .line 2906
    :sswitch_0
    const/4 v3, 0x0

    .line 2907
    goto :goto_1

    .line 2909
    :sswitch_1
    iget-boolean v4, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    if-eqz v4, :cond_3

    iget-object v4, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-eqz v4, :cond_3

    iget-object v4, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v4}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I

    move-result v4

    if-nez v4, :cond_3

    .line 2911
    const/4 v2, 0x1

    .line 2912
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    const-string v5, ""

    invoke-virtual {v4, v5}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 2914
    :cond_3
    const/4 v3, 0x0

    .line 2915
    goto :goto_1

    .line 2918
    :sswitch_2
    const/4 v3, 0x1

    iput-boolean v3, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    goto :goto_1

    .line 2933
    .restart local v0       #action:I
    .restart local v1       #forwardEvent:Landroid/view/KeyEvent;
    :pswitch_0
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v4, p1, v1}, Landroid/widget/EditText;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v2

    .line 2934
    goto :goto_2

    .line 2937
    :pswitch_1
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v4, p1, v1}, Landroid/widget/EditText;->onKeyUp(ILandroid/view/KeyEvent;)Z

    move-result v2

    .line 2938
    goto :goto_2

    .line 2941
    :pswitch_2
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v4, p1, p2, p3}, Landroid/widget/EditText;->onKeyMultiple(IILandroid/view/KeyEvent;)Z

    move-result v2

    goto :goto_2

    .line 2899
    :sswitch_data_0
    .sparse-switch
        0x4 -> :sswitch_1
        0x13 -> :sswitch_0
        0x14 -> :sswitch_0
        0x15 -> :sswitch_0
        0x16 -> :sswitch_0
        0x17 -> :sswitch_0
        0x3e -> :sswitch_2
        0x42 -> :sswitch_0
    .end sparse-switch

    .line 2931
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public setCacheColorHint(I)V
    .locals 0
    .parameter "color"

    .prologue
    .line 3143
    iput p1, p0, Landroid/widget/MyAbsListView;->mCacheColorHint:I

    .line 3144
    return-void
.end method

.method public setDrawSelectorOnTop(Z)V
    .locals 0
    .parameter "onTop"

    .prologue
    .line 1383
    iput-boolean p1, p0, Landroid/widget/MyAbsListView;->mDrawSelectorOnTop:Z

    .line 1384
    return-void
.end method

.method public setFilterText(Ljava/lang/String;)V
    .locals 3
    .parameter "filterText"

    .prologue
    .line 920
    iget-boolean v1, p0, Landroid/widget/MyAbsListView;->mTextFilterEnabled:Z

    if-eqz v1, :cond_1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 921
    const/4 v1, 0x0

    invoke-direct {p0, v1}, Landroid/widget/MyAbsListView;->createTextFilter(Z)V

    .line 924
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {v1, p1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 925
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mTextFilter:Landroid/widget/EditText;

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setSelection(I)V

    .line 926
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    instance-of v1, v1, Landroid/widget/Filterable;

    if-eqz v1, :cond_1

    .line 928
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-nez v1, :cond_0

    .line 929
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    check-cast v1, Landroid/widget/Filterable;

    invoke-interface {v1}, Landroid/widget/Filterable;->getFilter()Landroid/widget/Filter;

    move-result-object v0

    .line 930
    .local v0, f:Landroid/widget/Filter;
    invoke-virtual {v0, p1}, Landroid/widget/Filter;->filter(Ljava/lang/CharSequence;)V

    .line 934
    .end local v0           #f:Landroid/widget/Filter;
    :cond_0
    const/4 v1, 0x1

    iput-boolean v1, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    .line 935
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mDataSetObserver:Landroid/widget/MyAdapterView$AdapterDataSetObserver;

    invoke-virtual {v1}, Landroid/widget/MyAdapterView$AdapterDataSetObserver;->clearSavedState()V

    .line 938
    :cond_1
    return-void
.end method

.method protected setFrame(IIII)Z
    .locals 2
    .parameter "left"
    .parameter "top"
    .parameter "right"
    .parameter "bottom"

    .prologue
    .line 1119
    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/MyAdapterView;->setFrame(IIII)Z

    move-result v0

    .line 1124
    .local v0, changed:Z
    iget-boolean v1, p0, Landroid/widget/MyAbsListView;->mFiltered:Z

    if-eqz v1, :cond_0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getWindowVisibility()I

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    if-eqz v1, :cond_0

    iget-object v1, p0, Landroid/widget/MyAbsListView;->mPopup:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 1126
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->positionPopup()V

    .line 1129
    :cond_0
    return v0
.end method

.method public setOnScrollListener(Landroid/widget/MyAbsListView$OnScrollListener;)V
    .locals 0
    .parameter "l"

    .prologue
    .line 615
    iput-object p1, p0, Landroid/widget/MyAbsListView;->mOnScrollListener:Landroid/widget/MyAbsListView$OnScrollListener;

    .line 616
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->invokeOnItemScrollListener()V

    .line 617
    return-void
.end method

.method public setRecyclerListener(Landroid/widget/MyAbsListView$RecyclerListener;)V
    .locals 1
    .parameter "listener"

    .prologue
    .line 3196
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    #setter for: Landroid/widget/MyAbsListView$RecycleBin;->mRecyclerListener:Landroid/widget/MyAbsListView$RecyclerListener;
    invoke-static {v0, p1}, Landroid/widget/MyAbsListView$RecycleBin;->access$1402(Landroid/widget/MyAbsListView$RecycleBin;Landroid/widget/MyAbsListView$RecyclerListener;)Landroid/widget/MyAbsListView$RecyclerListener;

    .line 3197
    return-void
.end method

.method public setScrollIndicators(Landroid/view/View;Landroid/view/View;)V
    .locals 0
    .parameter "up"
    .parameter "down"

    .prologue
    .line 1462
    iput-object p1, p0, Landroid/widget/MyAbsListView;->mScrollUp:Landroid/view/View;

    .line 1463
    iput-object p2, p0, Landroid/widget/MyAbsListView;->mScrollDown:Landroid/view/View;

    .line 1464
    return-void
.end method

.method public setScrollingCacheEnabled(Z)V
    .locals 1
    .parameter "enabled"

    .prologue
    .line 659
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mScrollingCacheEnabled:Z

    if-eqz v0, :cond_0

    if-nez p1, :cond_0

    .line 660
    invoke-direct {p0}, Landroid/widget/MyAbsListView;->clearScrollingCache()V

    .line 662
    :cond_0
    iput-boolean p1, p0, Landroid/widget/MyAbsListView;->mScrollingCacheEnabled:Z

    .line 663
    return-void
.end method

.method abstract setSelectionInt(I)V
.end method

.method public setSelector(I)V
    .locals 1
    .parameter "resID"

    .prologue
    .line 1394
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->setSelector(Landroid/graphics/drawable/Drawable;)V

    .line 1395
    return-void
.end method

.method public setSelector(Landroid/graphics/drawable/Drawable;)V
    .locals 3
    .parameter "sel"

    .prologue
    .line 1398
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    if-eqz v1, :cond_0

    .line 1399
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V

    .line 1400
    iget-object v1, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0, v1}, Landroid/widget/MyAbsListView;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 1402
    :cond_0
    iput-object p1, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    .line 1403
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 1404
    .local v0, padding:Landroid/graphics/Rect;
    invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z

    .line 1405
    iget v1, v0, Landroid/graphics/Rect;->left:I

    iput v1, p0, Landroid/widget/MyAbsListView;->mSelectionLeftPadding:I

    .line 1406
    iget v1, v0, Landroid/graphics/Rect;->top:I

    iput v1, p0, Landroid/widget/MyAbsListView;->mSelectionTopPadding:I

    .line 1407
    iget v1, v0, Landroid/graphics/Rect;->right:I

    iput v1, p0, Landroid/widget/MyAbsListView;->mSelectionRightPadding:I

    .line 1408
    iget v1, v0, Landroid/graphics/Rect;->bottom:I

    iput v1, p0, Landroid/widget/MyAbsListView;->mSelectionBottomPadding:I

    .line 1409
    invoke-virtual {p1, p0}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V

    .line 1410
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getDrawableState()[I

    move-result-object v1

    invoke-virtual {p1, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z

    .line 1411
    return-void
.end method

.method public setSmoothScrollbarEnabled(Z)V
    .locals 0
    .parameter "enabled"

    .prologue
    .line 594
    iput-boolean p1, p0, Landroid/widget/MyAbsListView;->mSmoothScrollbarEnabled:Z

    .line 595
    return-void
.end method

.method public setStackFromBottom(Z)V
    .locals 1
    .parameter "stackFromBottom"

    .prologue
    .line 741
    iget-boolean v0, p0, Landroid/widget/MyAbsListView;->mStackFromBottom:Z

    if-eq v0, p1, :cond_0

    .line 742
    iput-boolean p1, p0, Landroid/widget/MyAbsListView;->mStackFromBottom:Z

    .line 743
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->requestLayoutIfNecessary()V

    .line 745
    :cond_0
    return-void
.end method

.method public setTextFilterEnabled(Z)V
    .locals 0
    .parameter "textFilterEnabled"

    .prologue
    .line 676
    iput-boolean p1, p0, Landroid/widget/MyAbsListView;->mTextFilterEnabled:Z

    .line 677
    return-void
.end method

.method public setTranscriptMode(I)V
    .locals 0
    .parameter "mode"

    .prologue
    .line 3118
    iput p1, p0, Landroid/widget/MyAbsListView;->mTranscriptMode:I

    .line 3119
    return-void
.end method

.method shouldShowSelector()Z
    .locals 1

    .prologue
    .line 1362
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->hasFocus()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->isInTouchMode()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->touchModeDrawsInPressedState()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public showContextMenuForChild(Landroid/view/View;)Z
    .locals 7
    .parameter "originalView"

    .prologue
    .line 1695
    invoke-virtual {p0, p1}, Landroid/widget/MyAbsListView;->getPositionForView(Landroid/view/View;)I

    move-result v3

    .line 1696
    .local v3, longPressPosition:I
    if-ltz v3, :cond_2

    .line 1697
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mAdapter:Landroid/widget/ListAdapter;

    invoke-interface {v0, v3}, Landroid/widget/ListAdapter;->getItemId(I)J

    move-result-wide v4

    .line 1698
    .local v4, longPressId:J
    const/4 v6, 0x0

    .line 1700
    .local v6, handled:Z
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnItemLongClickListener:Landroid/widget/MyAdapterView$OnItemLongClickListener;

    if-eqz v0, :cond_0

    .line 1701
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mOnItemLongClickListener:Landroid/widget/MyAdapterView$OnItemLongClickListener;

    move-object v1, p0

    move-object v2, p1

    invoke-interface/range {v0 .. v5}, Landroid/widget/MyAdapterView$OnItemLongClickListener;->onItemLongClick(Landroid/widget/MyAdapterView;Landroid/view/View;IJ)Z

    move-result v6

    .line 1704
    :cond_0
    if-nez v6, :cond_1

    .line 1705
    iget v0, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    sub-int v0, v3, v0

    invoke-virtual {p0, v0}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {p0, v0, v3, v4, v5}, Landroid/widget/MyAbsListView;->createContextMenuInfo(Landroid/view/View;IJ)Landroid/view/ContextMenu$ContextMenuInfo;

    move-result-object v0

    iput-object v0, p0, Landroid/widget/MyAbsListView;->mContextMenuInfo:Landroid/view/ContextMenu$ContextMenuInfo;

    .line 1708
    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->showContextMenuForChild(Landroid/view/View;)Z

    move-result v6

    :cond_1
    move v0, v6

    .line 1713
    .end local v4           #longPressId:J
    .end local v6           #handled:Z
    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected startUsingDistance(I)V
    .locals 1
    .parameter "distance"

    .prologue
    .line 3508
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    if-eqz v0, :cond_0

    .line 3509
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mFlingRunnable:Landroid/widget/MyAbsListView$FlingRunnable;

    invoke-virtual {v0, p1}, Landroid/widget/MyAbsListView$FlingRunnable;->startUsingDistance(I)V

    .line 3511
    :cond_0
    return-void
.end method

.method touchModeDrawsInPressedState()Z
    .locals 1

    .prologue
    .line 1345
    iget v0, p0, Landroid/widget/MyAbsListView;->mTouchMode:I

    packed-switch v0, :pswitch_data_0

    .line 1350
    const/4 v0, 0x0

    :goto_0
    return v0

    .line 1348
    :pswitch_0
    const/4 v0, 0x1

    goto :goto_0

    .line 1345
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method trackMotionScroll(II)V
    .locals 25
    .parameter "deltaY"
    .parameter "incrementalDeltaY"

    .prologue
    .line 2375
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v6

    .line 2376
    .local v6, childCount:I
    if-nez v6, :cond_1

    .line 2492
    :cond_0
    :goto_0
    return-void

    .line 2380
    :cond_1
    const/16 v23, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTop()I

    move-result v11

    .line 2381
    .local v11, firstTop:I
    const/16 v23, 0x1

    sub-int v23, v6, v23

    move-object/from16 v0, p0

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getBottom()I

    move-result v16

    .line 2383
    .local v16, lastBottom:I
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    move-object/from16 v17, v0

    .line 2386
    .local v17, listPadding:Landroid/graphics/Rect;
    move-object/from16 v0, v17

    iget v0, v0, Landroid/graphics/Rect;->top:I

    move/from16 v23, v0

    sub-int v19, v23, v11

    .line 2387
    .local v19, spaceAbove:I
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v23

    move-object/from16 v0, v17

    iget v0, v0, Landroid/graphics/Rect;->bottom:I

    move/from16 v24, v0

    sub-int v9, v23, v24

    .line 2388
    .local v9, end:I
    sub-int v20, v16, v9

    .line 2390
    .local v20, spaceBelow:I
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v23

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mPaddingBottom:I

    move/from16 v24, v0

    sub-int v23, v23, v24

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mPaddingTop:I

    move/from16 v24, v0

    sub-int v14, v23, v24

    .line 2391
    .local v14, height:I
    if-gez p1, :cond_2

    .line 2392
    const/16 v23, 0x1

    sub-int v23, v14, v23

    move/from16 v0, v23

    neg-int v0, v0

    move/from16 v23, v0

    move/from16 v0, v23

    move/from16 v1, p1

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result p1

    .line 2397
    :goto_1
    if-gez p2, :cond_3

    .line 2398
    const/16 v23, 0x1

    sub-int v23, v14, v23

    move/from16 v0, v23

    neg-int v0, v0

    move/from16 v23, v0

    move/from16 v0, v23

    move/from16 v1, p2

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result p2

    .line 2403
    :goto_2
    invoke-static/range {p2 .. p2}, Ljava/lang/Math;->abs(I)I

    move-result v3

    .line 2405
    .local v3, absIncrementalDeltaY:I
    move/from16 v0, v19

    move v1, v3

    if-lt v0, v1, :cond_4

    move/from16 v0, v20

    move v1, v3

    if-lt v0, v1, :cond_4

    .line 2406
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->hideSelector()V

    .line 2407
    move-object/from16 v0, p0

    move/from16 v1, p2

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->offsetChildrenTopAndBottom(I)V

    .line 2408
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 2409
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionViewOriginalTop:I

    move/from16 v23, v0

    add-int v23, v23, p1

    move/from16 v0, v23

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionViewNewTop:I

    goto/16 :goto_0

    .line 2394
    .end local v3           #absIncrementalDeltaY:I
    :cond_2
    const/16 v23, 0x1

    sub-int v23, v14, v23

    move/from16 v0, v23

    move/from16 v1, p1

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result p1

    goto :goto_1

    .line 2400
    :cond_3
    const/16 v23, 0x1

    sub-int v23, v14, v23

    move/from16 v0, v23

    move/from16 v1, p2

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result p2

    goto :goto_2

    .line 2411
    .restart local v3       #absIncrementalDeltaY:I
    :cond_4
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move v10, v0

    .line 2413
    .local v10, firstPosition:I
    if-nez v10, :cond_5

    move-object/from16 v0, v17

    iget v0, v0, Landroid/graphics/Rect;->top:I

    move/from16 v23, v0

    move v0, v11

    move/from16 v1, v23

    if-lt v0, v1, :cond_5

    if-gtz p1, :cond_0

    .line 2418
    :cond_5
    add-int v23, v10, v6

    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mItemCount:I

    move/from16 v24, v0

    move/from16 v0, v23

    move/from16 v1, v24

    if-ne v0, v1, :cond_6

    move/from16 v0, v16

    move v1, v9

    if-gt v0, v1, :cond_6

    if-ltz p1, :cond_0

    .line 2423
    :cond_6
    if-gez p2, :cond_9

    const/16 v23, 0x1

    move/from16 v8, v23

    .line 2425
    .local v8, down:Z
    :goto_3
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->hideSelector()V

    .line 2427
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHeaderViewsCount()I

    move-result v13

    .line 2428
    .local v13, headerViewsCount:I
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mItemCount:I

    move/from16 v23, v0

    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getFooterViewsCount()I

    move-result v24

    sub-int v12, v23, v24

    .line 2430
    .local v12, footerViewsStart:I
    const/16 v21, 0x0

    .line 2431
    .local v21, start:I
    const/4 v7, 0x0

    .line 2433
    .local v7, count:I
    if-eqz v8, :cond_c

    .line 2434
    move-object/from16 v0, v17

    iget v0, v0, Landroid/graphics/Rect;->top:I

    move/from16 v23, v0

    sub-int v22, v23, p2

    .line 2435
    .local v22, top:I
    const/4 v15, 0x0

    .local v15, i:I
    :goto_4
    if-ge v15, v6, :cond_7

    .line 2436
    move-object/from16 v0, p0

    move v1, v15

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    .line 2437
    .local v5, child:Landroid/view/View;
    invoke-virtual {v5}, Landroid/view/View;->getBottom()I

    move-result v23

    move/from16 v0, v23

    move/from16 v1, v22

    if-lt v0, v1, :cond_a

    .line 2476
    .end local v5           #child:Landroid/view/View;
    .end local v22           #top:I
    :cond_7
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mMotionViewOriginalTop:I

    move/from16 v23, v0

    add-int v23, v23, p1

    move/from16 v0, v23

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mMotionViewNewTop:I

    .line 2478
    const/16 v23, 0x1

    move/from16 v0, v23

    move-object/from16 v1, p0

    iput-boolean v0, v1, Landroid/widget/MyAbsListView;->mBlockLayoutRequests:Z

    .line 2479
    move-object/from16 v0, p0

    move/from16 v1, v21

    move v2, v7

    invoke-virtual {v0, v1, v2}, Landroid/widget/MyAbsListView;->detachViewsFromParent(II)V

    .line 2480
    move-object/from16 v0, p0

    move/from16 v1, p2

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->offsetChildrenTopAndBottom(I)V

    .line 2482
    if-eqz v8, :cond_8

    .line 2483
    move-object/from16 v0, p0

    iget v0, v0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    move/from16 v23, v0

    add-int v23, v23, v7

    move/from16 v0, v23

    move-object/from16 v1, p0

    iput v0, v1, Landroid/widget/MyAbsListView;->mFirstPosition:I

    .line 2486
    :cond_8
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->invalidate()V

    .line 2487
    move-object/from16 v0, p0

    move v1, v8

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->fillGap(Z)V

    .line 2488
    const/16 v23, 0x0

    move/from16 v0, v23

    move-object/from16 v1, p0

    iput-boolean v0, v1, Landroid/widget/MyAbsListView;->mBlockLayoutRequests:Z

    .line 2490
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->invokeOnItemScrollListener()V

    goto/16 :goto_0

    .line 2423
    .end local v7           #count:I
    .end local v8           #down:Z
    .end local v12           #footerViewsStart:I
    .end local v13           #headerViewsCount:I
    .end local v15           #i:I
    .end local v21           #start:I
    :cond_9
    const/16 v23, 0x0

    move/from16 v8, v23

    goto/16 :goto_3

    .line 2440
    .restart local v5       #child:Landroid/view/View;
    .restart local v7       #count:I
    .restart local v8       #down:Z
    .restart local v12       #footerViewsStart:I
    .restart local v13       #headerViewsCount:I
    .restart local v15       #i:I
    .restart local v21       #start:I
    .restart local v22       #top:I
    :cond_a
    add-int/lit8 v7, v7, 0x1

    .line 2441
    add-int v18, v10, v15

    .line 2442
    .local v18, position:I
    move/from16 v0, v18

    move v1, v13

    if-lt v0, v1, :cond_b

    move/from16 v0, v18

    move v1, v12

    if-ge v0, v1, :cond_b

    .line 2443
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView$RecycleBin;->addScrapView(Landroid/view/View;)V

    .line 2435
    :cond_b
    add-int/lit8 v15, v15, 0x1

    goto :goto_4

    .line 2454
    .end local v5           #child:Landroid/view/View;
    .end local v15           #i:I
    .end local v18           #position:I
    .end local v22           #top:I
    :cond_c
    invoke-virtual/range {p0 .. p0}, Landroid/widget/MyAbsListView;->getHeight()I

    move-result v23

    move-object/from16 v0, v17

    iget v0, v0, Landroid/graphics/Rect;->bottom:I

    move/from16 v24, v0

    sub-int v23, v23, v24

    sub-int v4, v23, p2

    .line 2455
    .local v4, bottom:I
    const/16 v23, 0x1

    sub-int v15, v6, v23

    .restart local v15       #i:I
    :goto_5
    if-ltz v15, :cond_7

    .line 2456
    move-object/from16 v0, p0

    move v1, v15

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    .line 2457
    .restart local v5       #child:Landroid/view/View;
    invoke-virtual {v5}, Landroid/view/View;->getTop()I

    move-result v23

    move/from16 v0, v23

    move v1, v4

    if-le v0, v1, :cond_7

    .line 2460
    move/from16 v21, v15

    .line 2461
    add-int/lit8 v7, v7, 0x1

    .line 2462
    add-int v18, v10, v15

    .line 2463
    .restart local v18       #position:I
    move/from16 v0, v18

    move v1, v13

    if-lt v0, v1, :cond_d

    move/from16 v0, v18

    move v1, v12

    if-ge v0, v1, :cond_d

    .line 2464
    move-object/from16 v0, p0

    iget-object v0, v0, Landroid/widget/MyAbsListView;->mRecycler:Landroid/widget/MyAbsListView$RecycleBin;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/MyAbsListView$RecycleBin;->addScrapView(Landroid/view/View;)V

    .line 2455
    :cond_d
    add-int/lit8 v15, v15, -0x1

    goto :goto_5
.end method

.method updateScrollIndicators()V
    .locals 10

    .prologue
    const/4 v9, 0x4

    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 1136
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mScrollUp:Landroid/view/View;

    if-eqz v4, :cond_1

    .line 1139
    iget v4, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    if-lez v4, :cond_4

    move v1, v8

    .line 1142
    .local v1, canScrollUp:Z
    :goto_0
    if-nez v1, :cond_0

    .line 1143
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v4

    if-lez v4, :cond_0

    .line 1144
    invoke-virtual {p0, v7}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    .line 1145
    .local v2, child:Landroid/view/View;
    invoke-virtual {v2}, Landroid/view/View;->getTop()I

    move-result v4

    iget-object v5, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    iget v5, v5, Landroid/graphics/Rect;->top:I

    if-ge v4, v5, :cond_5

    move v1, v8

    .line 1149
    .end local v2           #child:Landroid/view/View;
    :cond_0
    :goto_1
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mScrollUp:Landroid/view/View;

    if-eqz v1, :cond_6

    move v5, v7

    :goto_2
    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    .line 1152
    .end local v1           #canScrollUp:Z
    :cond_1
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mScrollDown:Landroid/view/View;

    if-eqz v4, :cond_3

    .line 1154
    invoke-virtual {p0}, Landroid/widget/MyAbsListView;->getChildCount()I

    move-result v3

    .line 1157
    .local v3, count:I
    iget v4, p0, Landroid/widget/MyAbsListView;->mFirstPosition:I

    add-int/2addr v4, v3

    iget v5, p0, Landroid/widget/MyAbsListView;->mItemCount:I

    if-ge v4, v5, :cond_7

    move v0, v8

    .line 1160
    .local v0, canScrollDown:Z
    :goto_3
    if-nez v0, :cond_2

    if-lez v3, :cond_2

    .line 1161
    sub-int v4, v3, v8

    invoke-virtual {p0, v4}, Landroid/widget/MyAbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    .line 1162
    .restart local v2       #child:Landroid/view/View;
    invoke-virtual {v2}, Landroid/view/View;->getBottom()I

    move-result v4

    iget v5, p0, Landroid/widget/MyAbsListView;->mBottom:I

    iget-object v6, p0, Landroid/widget/MyAbsListView;->mListPadding:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->bottom:I

    sub-int/2addr v5, v6

    if-le v4, v5, :cond_8

    move v0, v8

    .line 1165
    .end local v2           #child:Landroid/view/View;
    :cond_2
    :goto_4
    iget-object v4, p0, Landroid/widget/MyAbsListView;->mScrollDown:Landroid/view/View;

    if-eqz v0, :cond_9

    move v5, v7

    :goto_5
    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    .line 1167
    .end local v0           #canScrollDown:Z
    .end local v3           #count:I
    :cond_3
    return-void

    :cond_4
    move v1, v7

    .line 1139
    goto :goto_0

    .restart local v1       #canScrollUp:Z
    .restart local v2       #child:Landroid/view/View;
    :cond_5
    move v1, v7

    .line 1145
    goto :goto_1

    .end local v2           #child:Landroid/view/View;
    :cond_6
    move v5, v9

    .line 1149
    goto :goto_2

    .end local v1           #canScrollUp:Z
    .restart local v3       #count:I
    :cond_7
    move v0, v7

    .line 1157
    goto :goto_3

    .restart local v0       #canScrollDown:Z
    .restart local v2       #child:Landroid/view/View;
    :cond_8
    move v0, v7

    .line 1162
    goto :goto_4

    .end local v2           #child:Landroid/view/View;
    :cond_9
    move v5, v9

    .line 1165
    goto :goto_5
.end method

.method public verifyDrawable(Landroid/graphics/drawable/Drawable;)Z
    .locals 1
    .parameter "dr"

    .prologue
    .line 1510
    iget-object v0, p0, Landroid/widget/MyAbsListView;->mSelector:Landroid/graphics/drawable/Drawable;

    if-eq v0, p1, :cond_0

    invoke-super {p0, p1}, Landroid/widget/MyAdapterView;->verifyDrawable(Landroid/graphics/drawable/Drawable;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
